From ca712dd519ff7e11c5132ca2ebdd00adc8cc93f1 Mon Sep 17 00:00:00 2001 From: Stefan Nica Date: Fri, 15 Mar 2024 09:49:44 +0100 Subject: [PATCH] Fix node selector and other fields for DB job in helm chart --- .../deploy/helm/templates/server-db-job.yaml | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/zenml/zen_server/deploy/helm/templates/server-db-job.yaml b/src/zenml/zen_server/deploy/helm/templates/server-db-job.yaml index 9af1688e6ea..e71d4fd1d49 100644 --- a/src/zenml/zen_server/deploy/helm/templates/server-db-job.yaml +++ b/src/zenml/zen_server/deploy/helm/templates/server-db-job.yaml @@ -110,16 +110,16 @@ spec: envFrom: - secretRef: name: {{ include "zenml.fullname" . }}-db-migration - {{- with .Values.resources }} - resources: - {{- toYaml . | nindent 12 }} + {{- with .Values.resources }} + resources: + {{- toYaml . | nindent 12 }} + {{- end }} + {{- with .Values.tolerations }} + tolerations: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} {{- end }} - {{- with .Values.tolerations }} - tolerations: - {{- toYaml . | nindent 8 }} - {{- end }} - {{- with .Values.nodeSelector }} - nodeSelector: - {{- toYaml . | nindent 8 }} - {{- end }} {{- end }} \ No newline at end of file