From b09c3aff0de4484b44992f61f74a860575e138b8 Mon Sep 17 00:00:00 2001 From: rumstead <37445536+rumstead@users.noreply.github.com> Date: Wed, 13 Mar 2024 10:01:24 -0400 Subject: [PATCH] feat(oidc): allow for secret csi driver mounts (#250) * feat(oidc): allow for the use of secret csi drivers Signed-off-by: rumstead <37445536+rumstead@users.noreply.github.com> * feat(oidc): allow for the use of secret csi drivers Signed-off-by: rumstead <37445536+rumstead@users.noreply.github.com> * feat(oidc): allow for the use of secret csi drivers Signed-off-by: rumstead <37445536+rumstead@users.noreply.github.com> * add back new line Signed-off-by: rumstead <37445536+rumstead@users.noreply.github.com> --------- Signed-off-by: rumstead <37445536+rumstead@users.noreply.github.com> --- kiali-server/templates/deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kiali-server/templates/deployment.yaml b/kiali-server/templates/deployment.yaml index 863d3f2..115477a 100644 --- a/kiali-server/templates/deployment.yaml +++ b/kiali-server/templates/deployment.yaml @@ -165,10 +165,14 @@ spec: {{- end }} {{- range .Values.deployment.custom_secrets }} - name: {{ .name }} + {{- if .csi}} + csi: {{ toYaml .csi | nindent 10 }} + {{- else }} secret: secretName: {{ .name }} optional: {{ .optional | default false }} {{- end }} + {{- end }} {{- range $key, $val := (include "kiali-server.remote-cluster-secrets" .) | fromJson }} - name: {{ $key }} secret: