Skip to content

Commit

Permalink
fix(app): affinity
Browse files Browse the repository at this point in the history
  • Loading branch information
matmut7 committed Sep 9, 2024
1 parent 3d4294b commit e29e40a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 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,9 @@ spec:
{{- end }}
affinity:
{{- include "contrib-helpers.anti-affinity" . | nindent 8}}
{{- if .Values.affinity }}
{{- tpl (.Values.affinity | toYaml) . | nindent 8}}
{{- end }}
{{- if .Values.tolerations }}
tolerations:
{{- tpl (.Values.tolerations | toYaml) . | nindent 8}}
Expand Down
1 change: 1 addition & 0 deletions plugins/contrib/charts/app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ entrypoint:
args: []
antiAffinity:
enabled:
affinity:
tolerations:
# - key: startup
# operator: Equal
Expand Down

0 comments on commit e29e40a

Please sign in to comment.