Skip to content

Commit

Permalink
chore(chart): add topologySpreadConstraints
Browse files Browse the repository at this point in the history
  • Loading branch information
emaincourt authored and Saremox committed Apr 3, 2024
1 parent 175f6c0 commit af7e85b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/redisoperator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ appVersion: 1.3.0
apiVersion: v1
description: A Helm chart for the Spotahome Redis Operator
name: redis-operator
version: 3.3.0
version: 3.3.1
home: https://github.com/spotahome/redis-operator
keywords:
- "golang"
Expand Down
4 changes: 4 additions & 0 deletions charts/redisoperator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ spec:
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/redisoperator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ tolerations: []

affinity: {}

topologySpreadConstraints: []

# CRDs configuration
crds:
# -- Additional CRDs annotations
Expand Down

0 comments on commit af7e85b

Please sign in to comment.