Skip to content

Commit 617727d

Browse files
committed
fix: redis-ha subchart deployment / service name in template helpers
Signed-off-by: Jan Larwig <[email protected]>
1 parent 9b08b04 commit 617727d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

helm/oauth2-proxy/ci/redis-standalone-values.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ sessionStorage:
77
# provision an instance of the redis-ha sub-chart
88
redis:
99
enabled: true
10-
fullnameOverride: oauth2-proxy-redis
1110

1211
redisPassword: "foo"
1312

helm/oauth2-proxy/templates/_helpers.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Redis subcharts fullname
9494
*/}}
9595
{{- define "oauth2-proxy.redis.fullname" -}}
9696
{{- if .Values.redis.enabled -}}
97-
{{- include "redis-ha.fullname" (dict "Chart" (dict "Name" "redis-ha") "Release" .Release "Values" .Values.redis) -}}
97+
{{- include "redis-ha.fullname" (dict "Chart" (dict "Name" "redis") "Release" .Release "Values" .Values.redis) -}}
9898
{{- else -}}
9999
{{ fail "attempting to use redis subcharts fullname, even though the subchart is not enabled. This will lead to misconfiguration" }}
100100
{{- end -}}

0 commit comments

Comments
 (0)