Skip to content

Commit

Permalink
dex-k8s-authenticator: revert usage of caCerts key items
Browse files Browse the repository at this point in the history
  • Loading branch information
Hector Fernandez authored Jul 22, 2019
1 parent 12a9160 commit d2e3053
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions staging/dex-k8s-authenticator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ spec:
{{- if .Values.caCerts.enabled }}
{{- range .Values.caCerts.secrets }}
- name: {{ template "dex-k8s-authenticator.fullname" $ }}-{{ .name }}
mountPath: /certs/
subPath: {{ .name }}
mountPath: /certs/{{ .filename }}
{{- end }}
{{- end }}
resources:
Expand Down Expand Up @@ -92,8 +93,5 @@ 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 d2e3053

Please sign in to comment.