Skip to content

Commit 2665514

Browse files
Fixed OAUTH2_PROXY_REDIS_PASSWORD env variable (#28)
1 parent 2d64e89 commit 2665514

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

helm/oauth2-proxy/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: oauth2-proxy
2-
version: 3.2.10
2+
version: 3.2.11
33
apiVersion: v2
44
appVersion: 5.1.0
55
home: https://oauth2-proxy.github.io/oauth2-proxy/

helm/oauth2-proxy/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ spec:
102102
- name: OAUTH2_PROXY_REDIS_PASSWORD
103103
valueFrom:
104104
secretKeyRef:
105-
name: {{ template "oauth2-proxy.fullname" . }}-redis-access
105+
name: {{ if .Values.sessionStorage.redis.existingSecret }} {{ .Values.sessionStorage.redis.existingSecret }}{{ else }} {{ template "oauth2-proxy.fullname" . }}-redis-access{{ end }}
106106
key: redis-password
107107
{{- end }}
108108
{{- if eq (default "" .Values.sessionStorage.redis.clientType) "standalone" }}

0 commit comments

Comments
 (0)