From 5ab071b55ebc925082154a1b998ddce3a6d0b91a Mon Sep 17 00:00:00 2001 From: WenChih Lo Date: Fri, 15 Mar 2024 07:28:00 +0800 Subject: [PATCH] fix missing branch (#5054) Signed-off-by: Ryan Lo --- charts/flyte-core/templates/flytescheduler/deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/flyte-core/templates/flytescheduler/deployment.yaml b/charts/flyte-core/templates/flytescheduler/deployment.yaml index aa22a13e09e..14db8c48a79 100755 --- a/charts/flyte-core/templates/flytescheduler/deployment.yaml +++ b/charts/flyte-core/templates/flytescheduler/deployment.yaml @@ -48,8 +48,10 @@ spec: volumeMounts: {{- include "databaseSecret.volumeMount" . | nindent 8 }} - mountPath: /etc/flyte/config name: config-volume + {{- if .Values.secrets.adminOauthClientCredentials.enabled }} - name: auth mountPath: /etc/secrets/ + {{- end }} {{- end }} containers: - command: