diff --git a/plugins/contrib/charts/app/templates/deployment.yaml b/plugins/contrib/charts/app/templates/deployment.yaml index c212c1adb..38be2e1bb 100644 --- a/plugins/contrib/charts/app/templates/deployment.yaml +++ b/plugins/contrib/charts/app/templates/deployment.yaml @@ -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 }} diff --git a/plugins/contrib/charts/app/values.yaml b/plugins/contrib/charts/app/values.yaml index c44e9fe39..8a2dce179 100644 --- a/plugins/contrib/charts/app/values.yaml +++ b/plugins/contrib/charts/app/values.yaml @@ -52,6 +52,11 @@ entrypoint: args: [] antiAffinity: enabled: +tolerations: + # - key: startup + # operator: Equal + # value: cdtn + # effect: NoSchedule onChangedPaths: onChangedAnnotate: onChangedNeeds: