Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions charts/redis-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ kubectl create secret tls <webhook-server-cert> --key tls.key --cert tls.crt -n
| redisOperator.pprof.bindAddress | string | `":6060"` | |
| redisOperator.pprof.enabled | bool | `false` | |
| redisOperator.serviceDNSDomain | string | `"cluster.local"` | The DNS domain suffix used for Kubernetes service discovery. Default is "cluster.local". Change this if your cluster uses a custom DNS domain. |
| redisOperator.strategy | object | `{}` | |
| redisOperator.watchNamespace | string | `""` | |
| redisOperator.webhook | bool | `false` | |
| replicas | int | `1` | |
Expand Down
2 changes: 2 additions & 0 deletions charts/redis-operator/templates/operator-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ metadata:
namespace: {{ .Release.Namespace }}
labels: {{- include "redisOperator.labels" . | nindent 4 }}
spec:
strategy:
{{- toYaml .Values.redisOperator.strategy | nindent 4 }}
replicas: {{ .Values.replicas }}
selector:
matchLabels: {{- include "redisOperator.selectorLabels" . | nindent 6 }}
Expand Down
8 changes: 8 additions & 0 deletions charts/redis-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ redisOperator:
imagePullPolicy: Always
imagePullSecrets: []

# Update strategy
# strategy:
# type: RollingUpdate
# rollingUpdate:
# maxSurge: 25%
# maxUnavailable: 25%
strategy: {}

# Additional pod annotations
podAnnotations: {}
# Additional Pod labels (e.g. for filtering Pod by custom labels)
Expand Down