diff --git a/charts/flyte-core/templates/admin/deployment.yaml b/charts/flyte-core/templates/admin/deployment.yaml index 81587d19739..d8c08234316 100755 --- a/charts/flyte-core/templates/admin/deployment.yaml +++ b/charts/flyte-core/templates/admin/deployment.yaml @@ -74,6 +74,10 @@ spec: name: admin-secrets - mountPath: /var/run/credentials name: cluster-secrets + {{- if gt (len .Values.configmap.clusters.labelClusterMap) 0 }} + - mountPath: /var/run/credentials + name: cluster-credentials + {{- end }} {{- end }} - name: generate-secrets image: "{{ .Values.flyteadmin.image.repository }}:{{ .Values.flyteadmin.image.tag }}"