From 49304f1390d6a31c9bfa995d978ededa0ac5df0f Mon Sep 17 00:00:00 2001 From: gdabisias Date: Tue, 29 Aug 2023 16:20:34 +0200 Subject: [PATCH] Fix init container secret Signed-off-by: gdabisias --- charts/flyte-core/templates/admin/deployment.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/flyte-core/templates/admin/deployment.yaml b/charts/flyte-core/templates/admin/deployment.yaml index 81587d19739..b7cf2a14878 100755 --- a/charts/flyte-core/templates/admin/deployment.yaml +++ b/charts/flyte-core/templates/admin/deployment.yaml @@ -72,8 +72,10 @@ spec: name: clusters-config-volume - mountPath: /etc/secrets/ name: admin-secrets + {{- if gt (len .Values.configmap.clusters.labelClusterMap) 0 }} - mountPath: /var/run/credentials - name: cluster-secrets + name: cluster-credentials + {{- end }} {{- end }} - name: generate-secrets image: "{{ .Values.flyteadmin.image.repository }}:{{ .Values.flyteadmin.image.tag }}"