Skip to content

Commit 2d7d7c9

Browse files
authored
fix redis password env ref when using existingSecret (#81)
Signed-off-by: Nico Braun <[email protected]>
1 parent ab3a6be commit 2d7d7c9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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: 6.0.0
2+
version: 6.0.1
33
apiVersion: v2
44
appVersion: 7.2.0
55
home: https://oauth2-proxy.github.io/oauth2-proxy/

helm/oauth2-proxy/templates/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
{{- include "oauth2-proxy.labels" . | indent 4 }}
77
{{- if .Values.deploymentAnnotations }}
88
annotations:
9-
{{ toYaml .Values.deploymentAnnotations | indent 8 }}
9+
{{ toYaml .Values.deploymentAnnotations | indent 8 }}
1010
{{- end }}
1111
name: {{ template "oauth2-proxy.fullname" . }}
1212
spec:
@@ -108,7 +108,7 @@ spec:
108108
{{- if eq (default "cookie" .Values.sessionStorage.type) "redis" }}
109109
- name: OAUTH2_PROXY_SESSION_STORE_TYPE
110110
value: "redis"
111-
{{- if .Values.sessionStorage.redis.password }}
111+
{{- if or .Values.sessionStorage.redis.password .Values.sessionStorage.redis.existingSecret }}
112112
- name: OAUTH2_PROXY_REDIS_PASSWORD
113113
valueFrom:
114114
secretKeyRef:

0 commit comments

Comments
 (0)