aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaegen2/components/dcae-inventory-api/resources/config/config.json
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-05-06 13:09:02 +0000
committerGerrit Code Review <gerrit@onap.org>2020-05-06 13:09:02 +0000
commit570fa97c500e9d32cf6d2a40834782db8f1db1fe (patch)
tree3cddd0c6456aeabf28013a2ee40439f862aedd9d /kubernetes/dcaegen2/components/dcae-inventory-api/resources/config/config.json
parentb5c12abb08cabeb0d6b6b593eb8b7068f8a93d81 (diff)
parentbb48fc854a89ae8a9e4efc926df0930ae5a271d5 (diff)
Merge "[DCAEGEN2] Use common secret template for postgres credentials"
Diffstat (limited to 'kubernetes/dcaegen2/components/dcae-inventory-api/resources/config/config.json')
-rw-r--r--kubernetes/dcaegen2/components/dcae-inventory-api/resources/config/config.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/dcaegen2/components/dcae-inventory-api/resources/config/config.json b/kubernetes/dcaegen2/components/dcae-inventory-api/resources/config/config.json
index d9927314e1..4be8c195d2 100644
--- a/kubernetes/dcaegen2/components/dcae-inventory-api/resources/config/config.json
+++ b/kubernetes/dcaegen2/components/dcae-inventory-api/resources/config/config.json
@@ -1,8 +1,8 @@
{
"database": {
"driverClass": "org.postgresql.Driver",
- "user": "{{ .Values.postgres.config.pgUserName }}",
- "password": "{{ .Values.postgres.config.pgUserPassword }}",
+ "user": "${PG_USER}",
+ "password": "${PG_PASSWORD}",
"url": "jdbc:postgresql://{{ .Values.postgres.service.name2 }}:5432/{{ .Values.postgres.config.pgDatabase }}",
"properties": {
"charSet": "UTF-8"