Skip to content

Commit b2d887e

Browse files
Merge branch 'main' into imagePullSecrets
2 parents ac78abb + ca0ef13 commit b2d887e

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

helm/oauth2-proxy/ci/tpl-values.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,11 @@ pass_authorization_header: "true"
1919

2020
extraArgs:
2121
pass-authorization-header: "{{ $.Values.pass_authorization_header }}"
22+
23+
extraVolumes:
24+
- name: "{{ $.Release.Name }}-secret"
25+
secret:
26+
secretName: "{{ .Release.Name }}-secret"
27+
items:
28+
- key: secret
29+
path: secret

helm/oauth2-proxy/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ spec:
369369
{{- end }}
370370
{{- end }}
371371
{{- if ne (len .Values.extraVolumes) 0 }}
372-
{{ toYaml .Values.extraVolumes | indent 6 }}
372+
{{ tpl (toYaml .Values.extraVolumes) . | indent 6 }}
373373
{{- end }}
374374
{{- if and (.Values.authenticatedEmailsFile.enabled) (eq .Values.authenticatedEmailsFile.persistence "configmap") }}
375375
- configMap:

0 commit comments

Comments
 (0)