Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Commit

Permalink
FIX: Issue with other deployment such as exporter using hardcoded ver…
Browse files Browse the repository at this point in the history
…sion of key in secret (#42)

Co-authored-by: Alexandre Chichmanian <[email protected]>
  • Loading branch information
alexandreChichmanian and Alexandre Chichmanian authored Jan 27, 2022
1 parent 83ef8f1 commit e92a547
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions keydb/templates/sts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ spec:
valueFrom:
secretKeyRef:
name: {{ .Values.existingSecret }}
key: password
key: {{ .Values.existingSecretPasswordKey }}
{{- else if .Values.password }}
- name: REDIS_PASSWORD
value: "{{ .Values.password }}"
Expand Down Expand Up @@ -187,7 +187,7 @@ spec:
valueFrom:
secretKeyRef:
name: {{ .Values.existingSecret }}
key: password
key: {{ .Values.existingSecretPasswordKey }}
{{- else if .Values.password }}
- name: REDIS_PASSWORD
value: "{{ .Values.password }}"
Expand Down

0 comments on commit e92a547

Please sign in to comment.