Skip to content

Commit

Permalink
fix(values): consistent usage of postgresql.adminPasswordKey
Browse files Browse the repository at this point in the history
  • Loading branch information
muja committed Oct 8, 2024
1 parent d2b08c7 commit 44770f5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/backstage/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ sources:
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 2.20.0
version: 2.20.1
4 changes: 2 additions & 2 deletions charts/backstage/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2367,8 +2367,8 @@
"name": "POSTGRESQL_ADMIN_PASSWORD",
"valueFrom": {
"secretKeyRef": {
"key": "postgres-password",
"name": "{{- include \"janus-idp.postgresql.secretName\" . }}"
"key": "{{- include \"postgresql.adminPasswordKey\" . }}",
"name": "{{- include \"postgresql.v1.secretName\" . }}"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions charts/backstage/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ upstream:
- name: POSTGRESQL_ADMIN_PASSWORD
valueFrom:
secretKeyRef:
key: postgres-password
name: '{{- include "janus-idp.postgresql.secretName" . }}'
key: '{{- include "postgresql.adminPasswordKey" . }}'
name: '{{- include "postgresql.v1.secretName" . }}'
args:
# This additional `app-config`` file is generated by the initContainer below, and contains the merged configuration of installed dynamic plugins.
- '--config'
Expand Down Expand Up @@ -234,7 +234,7 @@ upstream:
- name: POSTGRESQL_ADMIN_PASSWORD
valueFrom:
secretKeyRef:
key: postgres-password
key: '{{- include "postgresql.adminPasswordKey" . }}'
name: '{{- include "postgresql.v1.secretName" . }}'
ingress:
host: "{{ .Values.global.host }}"
Expand Down

0 comments on commit 44770f5

Please sign in to comment.