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 262094c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion staging/dex-k8s-authenticator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "v1.1.0"
description: "Authenticator for using Dex with Kubernetes"
name: dex-k8s-authenticator
version: 1.1.3
version: 1.1.4
sources:
- https://github.com/mintel/dex-k8s-authenticator
maintainers:
Expand Down
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 262094c

Please sign in to comment.