Skip to content

Commit

Permalink
Merge branch 'main' into imagePullSecrets
Browse files Browse the repository at this point in the history
  • Loading branch information
pierluigilenoci authored Aug 23, 2024
2 parents ac78abb + ca0ef13 commit b2d887e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions helm/oauth2-proxy/ci/tpl-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,11 @@ pass_authorization_header: "true"

extraArgs:
pass-authorization-header: "{{ $.Values.pass_authorization_header }}"

extraVolumes:
- name: "{{ $.Release.Name }}-secret"
secret:
secretName: "{{ .Release.Name }}-secret"
items:
- key: secret
path: secret
2 changes: 1 addition & 1 deletion helm/oauth2-proxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ spec:
{{- end }}
{{- end }}
{{- if ne (len .Values.extraVolumes) 0 }}
{{ toYaml .Values.extraVolumes | indent 6 }}
{{ tpl (toYaml .Values.extraVolumes) . | indent 6 }}
{{- end }}
{{- if and (.Values.authenticatedEmailsFile.enabled) (eq .Values.authenticatedEmailsFile.persistence "configmap") }}
- configMap:
Expand Down

0 comments on commit b2d887e

Please sign in to comment.