diff --git a/charts/backstage/values.schema.json b/charts/backstage/values.schema.json index 7aaee2f..9ab3d16 100644 --- a/charts/backstage/values.schema.json +++ b/charts/backstage/values.schema.json @@ -2372,8 +2372,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\" . }}" } } } diff --git a/charts/backstage/values.yaml b/charts/backstage/values.yaml index d3618e5..c48746e 100644 --- a/charts/backstage/values.yaml +++ b/charts/backstage/values.yaml @@ -111,8 +111,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' @@ -237,7 +237,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 }}"