fix valkey templating issues, add more docs
This commit is contained in:
@@ -190,12 +190,16 @@ spec:
|
||||
value: {{ printf "%s-primary" (.Values.valkey.fullnameOverride) }}
|
||||
{{- end }}
|
||||
- name: REDIS_PORT
|
||||
{{- if .Values.externalValkey }}
|
||||
{{- if .Values.externalValkey.existingSecret }}
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .Values.externalValkey.existingSecret }}
|
||||
key: {{ .Values.externalValkey.existingSecretKeys.port }}
|
||||
{{- else }}
|
||||
value: {{ .Values.externalValkey.port }}
|
||||
{{- end }}
|
||||
{{- else }}
|
||||
value: {{ .Values.valkey.primary.service.ports.valkey | quote }}
|
||||
{{- end }}
|
||||
- name: REDIS_PASSWORD
|
||||
|
||||
Reference in New Issue
Block a user