diff --git a/helm/ffc-sfi-payments/templates/config-map.yaml b/helm/ffc-sfi-payments/templates/config-map.yaml index 53965f29..1ae1766f 100644 --- a/helm/ffc-sfi-payments/templates/config-map.yaml +++ b/helm/ffc-sfi-payments/templates/config-map.yaml @@ -8,4 +8,8 @@ data: PAYMENT_SUBSCRIPTION_ADDRESS: {{ quote .Values.container.paymentSubscriptionAddress }} WITHDRAW_TOPIC_ADDRESS: {{ quote .Values.container.withdrawTopicAddress }} WITHDRAW_SUBSCRIPTION_ADDRESS: {{ quote .Values.container.withdrawSubscriptionAddress }} + POSTGRES_DB: {{ quote .Values.postgresService.postgresDb }} + POSTGRES_HOST: {{ quote .Values.postgresService.postgresHost }} + POSTGRES_PORT: {{ quote .Values.postgresService.postgresPort }} + POSTGRES_SCHEMA_NAME: {{ quote .Values.postgresService.postgresSchema }} {{- end -}} diff --git a/helm/ffc-sfi-payments/templates/container-secret.yaml b/helm/ffc-sfi-payments/templates/container-secret.yaml index 2f0febd4..8051feb3 100644 --- a/helm/ffc-sfi-payments/templates/container-secret.yaml +++ b/helm/ffc-sfi-payments/templates/container-secret.yaml @@ -4,4 +4,5 @@ stringData: {{- if .Values.appInsights.key }} APPINSIGHTS_INSTRUMENTATIONKEY: {{ quote .Values.appInsights.key }} {{- end }} + POSTGRES_USERNAME: {{ .Values.postgresService.postgresUser | quote }} {{- end -}} diff --git a/package.json b/package.json index f4c4909c..b2d60cf4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ffc-sfi-payments", - "version": "1.0.0", + "version": "1.0.1", "description": "FFC SFI payment services", "homepage": "https://github.com/DEFRA/ffc-sfi-payments", "main": "app/index.js",