Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add support for topologySpreadConstraints #70

Merged
merged 1 commit into from
Nov 20, 2023
Merged
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 contrib/helm/calert/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,5 @@ Change the values according to the need of the environment in ``contrib/helm/cal
| nodeSelector | object | `{}` | |
| tolerations | list | `[]` | |
| affinity | object | `{}` | |
| topologySpreadConstraints | list | `[]` | |
| podAnnotations | object | `{}` | |
4 changes: 4 additions & 0 deletions contrib/helm/calert/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ spec:
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
Expand Down
2 changes: 2 additions & 0 deletions contrib/helm/calert/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,6 @@ tolerations: []

affinity: {}

topologySpreadConstraints: []

podAnnotations: {}