diff --git a/charts/stable/redis/values.yaml b/charts/stable/redis/values.yaml index 241f036e8be..a5d2de882e7 100644 --- a/charts/stable/redis/values.yaml +++ b/charts/stable/redis/values.yaml @@ -16,11 +16,7 @@ workload: REDIS_REPLICATION_MODE: master ALLOW_EMPTY_PASSWORD: "yes" REDIS_PORT: "{{ .Values.service.main.ports.main.targetPort }}" - REDIS_PASSWORD: - secretKeyRef: - expandObjectName: "{{ if .Values.redisPassword }}true{{ else }}false{{ end }}" - name: '{{ if .Values.redisPassword }}credentials{{ else if .Values.existingSecret }}{{ .Values.existingSecret }}{{ else }}{{ printf "%s-%s" .Release.Name "rediscreds" }}{{ end }}' - key: "redis-password" + REDIS_PASSWORD: "{{ if .Values.password }}" probes: liveness: enabled: true @@ -126,10 +122,10 @@ secret: credentials: enabled: true data: - redis-password: '{{ ( .Values.redisPassword | default "nothing" ) }}' + redis-password: '{{ ( .Values.password | default "nothing" ) }}' # -- Secret or password # One of these options is required, unless used as a dependency for another TrueCharts chart. -redisPassword: "" +password: "placeholderpassword" existingSecret: "" service: main: