From ebee00211a10080672ba6dfc0c83ffee1f6b9b11 Mon Sep 17 00:00:00 2001 From: Hector Fernandez Date: Mon, 22 Jul 2019 15:07:16 +0200 Subject: [PATCH] Update deployment.yaml --- staging/dex-k8s-authenticator/templates/deployment.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/staging/dex-k8s-authenticator/templates/deployment.yaml b/staging/dex-k8s-authenticator/templates/deployment.yaml index 4419443be5..6714a74f4a 100644 --- a/staging/dex-k8s-authenticator/templates/deployment.yaml +++ b/staging/dex-k8s-authenticator/templates/deployment.yaml @@ -63,8 +63,7 @@ spec: {{- if .Values.caCerts.enabled }} {{- range .Values.caCerts.secrets }} - name: {{ template "dex-k8s-authenticator.fullname" $ }}-{{ .name }} - subPath: {{ .name }} - mountPath: /certs/{{ .filename }} + mountPath: /certs/ {{- end }} {{- end }} resources: @@ -93,5 +92,8 @@ spec: - name: {{ template "dex-k8s-authenticator.fullname" $ }}-{{ .name }} secret: secretName: {{ template "dex-k8s-authenticator.fullname" $ }}-{{ .name }} + items: + - key: {{ .name }} + path: {{ .filename }} {{- end }} {{- end }}