Skip to content

Commit

Permalink
Fix PostgreSQL secret name (#70)
Browse files Browse the repository at this point in the history
* Fix secret reference

* Bump version
  • Loading branch information
sturman authored Mar 6, 2023
1 parent e979fee commit 3e95791
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/unleash/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ sources:
- https://github.com/Unleash/unleash
- https://github.com/Unleash/helm-charts
type: application
version: 2.7.5
version: 2.7.6
2 changes: 1 addition & 1 deletion charts/unleash/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
valueFrom:
secretKeyRef:
name: {{ if .Values.dbConfig.useExistingSecret.name }}{{ .Values.dbConfig.useExistingSecret.name }}{{ else }}{{ .Values.postgresql.fullnameOverride }}{{ end }}
key: {{ if .Values.dbConfig.useExistingSecret.key }}{{ .Values.dbConfig.useExistingSecret.key }}{{ else }}postgresql-password{{ end }}
key: {{ if .Values.dbConfig.useExistingSecret.key }}{{ .Values.dbConfig.useExistingSecret.key }}{{ else }}postgres-password{{ end }}
{{- end }}
- name: DATABASE
value: "{{ .Values.dbConfig.database }}"
Expand Down

0 comments on commit 3e95791

Please sign in to comment.