Skip to content

Commit

Permalink
dex-k8s-authenticator: avoid using subPath for the secret
Browse files Browse the repository at this point in the history
  • Loading branch information
Hector Fernandez committed Jul 22, 2019
1 parent d2e3053 commit 0c86843
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions staging/dex-k8s-authenticator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}

0 comments on commit 0c86843

Please sign in to comment.