Skip to content

Commit

Permalink
Merge pull request #492 from Wouter0100/patch-1
Browse files Browse the repository at this point in the history
feat(helm): add replicas option in chart
  • Loading branch information
ese authored Oct 9, 2022
2 parents 2c37791 + d1c1721 commit 4faf435
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/redisoperator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ metadata:
{{ toYaml .Values.annotations | indent 4 }}
{{- end }}
spec:
replicas: 1
replicas: {{ .Values.replicas }}
selector:
matchLabels:
{{- include "chart.selectorLabels" $data | nindent 6 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/redisoperator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ imageCredentials:
updateStrategy:
type: RollingUpdate

replicas: 1

# A name in place of the chart name for `app:` labels.
nameOverride: ""

Expand Down

0 comments on commit 4faf435

Please sign in to comment.