From 5db542ba70198a0eb214d1fd7014e4b83c02651d Mon Sep 17 00:00:00 2001 From: Bing Steup Date: Fri, 14 Jun 2024 12:33:00 +0200 Subject: [PATCH] Feat: apply nodeSelector, affinity and tolerations from values.yaml in deployment.yaml and bump version. Signed-off-by: Bing Steup (#14) Co-authored-by: Alexandre Nuttinck --- templates/deployment.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 3d92fb4..5879854 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -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 }}