Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #134 from FabianKramm/master
Browse files Browse the repository at this point in the history
feat(chart): add affinity & tolerations to chart
  • Loading branch information
FabianKramm authored Jul 9, 2021
2 parents 16cb763 + f3899c2 commit 105fac5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ spec:
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }}
{{- end }}
{{- if .Values.affinity }}
affinity:
{{ toYaml .Values.affinity | indent 8 }}
{{- end }}
{{- if .Values.tolerations }}
tolerations:
{{ toYaml .Values.tolerations | indent 8 }}
{{- end }}
containers:
- ports:
Expand Down

0 comments on commit 105fac5

Please sign in to comment.