Skip to content

Commit 419d1b0

Browse files
authored
fix: use the correct default configmap name in deployment
1 parent 6116131 commit 419d1b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

helm/oauth2-proxy/templates/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ spec:
136136
{{- if .Values.authenticatedEmailsFile.template }}
137137
- --authenticated-emails-file=/etc/oauth2-proxy/{{ .Values.authenticatedEmailsFile.template }}
138138
{{- else }}
139-
- --authenticated-emails-file=/etc/oauth2-proxy/authenticated-emails-list
139+
- --authenticated-emails-file=/etc/oauth2-proxy/{{ template "oauth2-proxy.fullname" . }}-accesslist
140140
{{- end }}
141141
{{- end }}
142142
{{- with .Values.config.google }}
@@ -381,7 +381,7 @@ spec:
381381
{{- if .Values.authenticatedEmailsFile.template }}
382382
path: {{ .Values.authenticatedEmailsFile.template }}
383383
{{- else }}
384-
path: authenticated-emails-list
384+
path: {{ template "oauth2-proxy.fullname" . }}-accesslist
385385
{{- end }}
386386
name: configaccesslist
387387
{{- end }}

0 commit comments

Comments
 (0)