summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/charts/policy-api/resources/config/config.json
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-04-06 19:54:57 +0000
committerGerrit Code Review <gerrit@onap.org>2020-04-06 19:54:57 +0000
commitf033c7c113bf1e2eb82a56c9538c99f0783e3fa3 (patch)
tree7527a8d789b9b8c44840c67f6ac91dc0551da03d /kubernetes/policy/charts/policy-api/resources/config/config.json
parentf4518e3217abcba854054623a0d838a7250b3c73 (diff)
parent09d1b315194e98f33fc26914c44b8c2173409b8c (diff)
Merge "[POLICY] Use common secret template in policy-api"
Diffstat (limited to 'kubernetes/policy/charts/policy-api/resources/config/config.json')
-rw-r--r--kubernetes/policy/charts/policy-api/resources/config/config.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/policy/charts/policy-api/resources/config/config.json b/kubernetes/policy/charts/policy-api/resources/config/config.json
index ccfc07ae67..2e46ccae96 100644
--- a/kubernetes/policy/charts/policy-api/resources/config/config.json
+++ b/kubernetes/policy/charts/policy-api/resources/config/config.json
@@ -30,8 +30,8 @@
"implementation": "org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl",
"databaseDriver": "org.mariadb.jdbc.Driver",
"databaseUrl": "jdbc:mariadb://{{ .Values.global.mariadb.service.name }}:{{ .Values.global.mariadb.service.internalPort }}/policyadmin",
- "databaseUser": "{{ .Values.global.mariadb.config.userName }}",
- "databasePassword": "{{ .Values.global.mariadb.config.userPassword | b64enc }}",
+ "databaseUser": "${SQL_USER}",
+ "databasePassword": "${SQL_PASSWORD_BASE64}",
"persistenceUnit": "PolicyMariaDb"
},
"preloadPolicyTypes": [