Update values.yaml

Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
This commit is contained in:
Kjeld Schouten-Lebbing
2023-03-02 11:56:22 +01:00
committed by GitHub
parent 81c80b6b2e
commit b5d0439a67
+2 -3
View File
@@ -18,7 +18,7 @@ workload:
REDIS_PASSWORD:
secretKeyRef:
expandObjectName: false
name: '{{ if .Values.isDep }}{{ printf "%s-%s" .Release.Name "rediscreds" }}{{ else }}{{ .Values.existingSecret | default "credentials" }}{{ end }}'
name: '{{ if .Values.redisPassword }}"credentials"{{ else if .Values.existingSecret }}{{ .Values.existingSecret }}{{ else }}{{ printf "%s-%s" .Release.Name "rediscreds" }}{{ end }}'
key: "redis-password"
probes:
liveness:
@@ -130,9 +130,8 @@ secret:
data:
redis-password: '{{ ( .Values.redisPassword | default "nothing" ) }}'
redisPassword: "testpass"
redisPassword: ""
existingSecret: ""
isDep: false
service:
main: