Skip to content

Commit 393d325

Browse files
committed
fix(values): consistent usage of postgresql.adminPasswordKey
1 parent d2b08c7 commit 393d325

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

charts/backstage/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ sources:
4545
# This is the chart version. This version number should be incremented each time you make changes
4646
# to the chart and its templates, including the app version.
4747
# Versions are expected to follow Semantic Versioning (https://semver.org/)
48-
version: 2.20.0
48+
version: 2.20.1

charts/backstage/values.schema.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2367,8 +2367,8 @@
23672367
"name": "POSTGRESQL_ADMIN_PASSWORD",
23682368
"valueFrom": {
23692369
"secretKeyRef": {
2370-
"key": "postgres-password",
2371-
"name": "{{- include \"janus-idp.postgresql.secretName\" . }}"
2370+
"key": "{{- include \"postgresql.adminPasswordKey\" . }}",
2371+
"name": "{{- include \"postgresql.v1.secretName\" . }}"
23722372
}
23732373
}
23742374
}

charts/backstage/values.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ upstream:
108108
- name: POSTGRESQL_ADMIN_PASSWORD
109109
valueFrom:
110110
secretKeyRef:
111-
key: postgres-password
112-
name: '{{- include "janus-idp.postgresql.secretName" . }}'
111+
key: '{{- include "postgresql.adminPasswordKey" . }}'
112+
name: '{{- include "postgresql.v1.secretName" . }}'
113113
args:
114114
# This additional `app-config`` file is generated by the initContainer below, and contains the merged configuration of installed dynamic plugins.
115115
- '--config'
@@ -234,7 +234,7 @@ upstream:
234234
- name: POSTGRESQL_ADMIN_PASSWORD
235235
valueFrom:
236236
secretKeyRef:
237-
key: postgres-password
237+
key: '{{- include "postgresql.adminPasswordKey" }}'
238238
name: '{{- include "postgresql.v1.secretName" . }}'
239239
ingress:
240240
host: "{{ .Values.global.host }}"

0 commit comments

Comments
 (0)