mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-20 10:35:57 +10:00
Synchronize upstreamed folder to 494a6bc
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: redis
|
||||
version: 3.1.0
|
||||
version: 3.2.0
|
||||
appVersion: 4.0.9
|
||||
description: Open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
|
||||
keywords:
|
||||
|
||||
@@ -132,6 +132,7 @@ The following table lists the configurable parameters of the Redis chart and the
|
||||
| `slave.securityContext.fsGroup` | Group ID for the container (redis slave pod) | `master.securityContext.fsGroup` |
|
||||
| `slave.securityContext.runAsUser` | User ID for the container (redis slave pod) | `master.securityContext.runAsUser` |
|
||||
| `slave.resources` | Redis slave CPU/Memory resource requests/limits | `master.resources` |
|
||||
| `slave.affinity` | Enable node/pod affinity for slaves | {} |
|
||||
|
||||
The above parameters map to the env variables defined in [bitnami/redis](http://github.com/bitnami/bitnami-docker-redis). For more information please refer to the [bitnami/redis](http://github.com/bitnami/bitnami-docker-redis) image documentation.
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ spec:
|
||||
{{- end}}
|
||||
{{- end}}
|
||||
{{- /* Include master securityContext if slave securityContext not defined */ -}}
|
||||
{{ include "redis.slave.securityContext" . | indent 6 }}
|
||||
{{ include "redis.slave.securityContext" . | indent 6 }}
|
||||
{{- if (.Values.slave.nodeSelector | default .Values.master.nodeSelector) }}
|
||||
nodeSelector:
|
||||
{{ toYaml (.Values.slave.nodeSelector | default .Values.master.nodeSelector) | indent 8 }}
|
||||
@@ -42,6 +42,10 @@ spec:
|
||||
tolerations:
|
||||
{{ toYaml (.Values.slave.tolerations | default .Values.master.tolerations) | indent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.affinity }}
|
||||
affinity:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: {{ template "redis.fullname" . }}
|
||||
image: {{ template "redis.image" . }}
|
||||
@@ -92,9 +96,9 @@ spec:
|
||||
- name: redis
|
||||
containerPort: {{ .Values.slave.port | default .Values.master.port }}
|
||||
{{- /* Include master livenessProbe if slave livenessProbe not defined */ -}}
|
||||
{{ include "redis.slave.livenessProbe" . | indent 8 }}
|
||||
{{ include "redis.slave.livenessProbe" . | indent 8 }}
|
||||
{{- /* Include master readinessProbe if slave readinessProbe not defined */ -}}
|
||||
{{ include "redis.slave.readinessProbe" . | indent 8 }}
|
||||
{{ include "redis.slave.readinessProbe" . | indent 8 }}
|
||||
resources:
|
||||
{{ toYaml (.Values.slave.resources | default .Values.master.resources) | indent 10 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -206,6 +206,8 @@ slave:
|
||||
## Comma-separated list of Redis commands to disable
|
||||
# disableCommands: ""
|
||||
|
||||
affinity: {}
|
||||
|
||||
## Redis slave Liveness Probe
|
||||
# livenessProbe:
|
||||
# enabled: true
|
||||
|
||||
@@ -217,6 +217,8 @@ slave:
|
||||
## Comma-separated list of Redis commands to disable
|
||||
# disableCommands: ""
|
||||
|
||||
affinity: {}
|
||||
|
||||
## Redis slave Liveness Probe
|
||||
# livenessProbe:
|
||||
# enabled: true
|
||||
|
||||
Reference in New Issue
Block a user