Skip to content

Commit

Permalink
Feat: apply nodeSelector, affinity and tolerations from values.yaml i…
Browse files Browse the repository at this point in the history
…n deployment.yaml and bump version. Signed-off-by: Bing Steup <b.steup@rekenkamer.nl> (#14)

Co-authored-by: Alexandre Nuttinck <alexandre.nuttinck@imio.be>
  • Loading branch information
bingneef and alexnuttinck authored Jun 14, 2024
1 parent 198536f commit 5db542b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -238,3 +238,15 @@ spec:
port: http
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}

0 comments on commit 5db542b

Please sign in to comment.