Skip to content

Commit

Permalink
fix: tolerations for app chart (#497)
Browse files Browse the repository at this point in the history
  • Loading branch information
matmut7 authored Jun 24, 2024
1 parent 520d517 commit 7edce77
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugins/contrib/charts/app/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ spec:
{{- end }}
affinity:
{{- include "contrib-helpers.anti-affinity" . | nindent 8}}
{{- if .Values.tolerations }}
tolerations:
{{- tpl (.Values.tolerations | toYaml) . | nindent 8}}
{{- end }}
initContainers:
{{- if .Values.waitForPostgres }}
{{- include "contrib-helpers.init-containers.wait-for-postgres" . | nindent 8 }}
Expand Down
5 changes: 5 additions & 0 deletions plugins/contrib/charts/app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ entrypoint:
args: []
antiAffinity:
enabled:
tolerations:
# - key: startup
# operator: Equal
# value: cdtn
# effect: NoSchedule
onChangedPaths:
onChangedAnnotate:
onChangedNeeds:
Expand Down

0 comments on commit 7edce77

Please sign in to comment.