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: REDIS_PASSWORD:
secretKeyRef: secretKeyRef:
expandObjectName: false 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" key: "redis-password"
probes: probes:
liveness: liveness:
@@ -130,9 +130,8 @@ secret:
data: data:
redis-password: '{{ ( .Values.redisPassword | default "nothing" ) }}' redis-password: '{{ ( .Values.redisPassword | default "nothing" ) }}'
redisPassword: "testpass" redisPassword: ""
existingSecret: "" existingSecret: ""
isDep: false
service: service:
main: main: