summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/charts/pap/resources/config
diff options
context:
space:
mode:
authorDominik Mizyn <d.mizyn@samsung.com>2020-04-09 22:37:00 +0200
committerDominik Mizyn <d.mizyn@samsung.com>2020-04-17 13:49:10 +0200
commit389fca1b6613b63203b865044540c0228c7b813e (patch)
treeaa3c1d9b76e4d3134904646753ff6fcaa7f13ae1 /kubernetes/policy/charts/pap/resources/config
parent786e6903090ab66a4ae67140351aa271f55328f0 (diff)
[Policy] Remove hardcoded credentials from pap
This patch remove hardcoded healthcheck credentials from pap. Issue-ID: OOM-2342 Change-Id: I8dc2a1b0a84a18215403aabc8ae9b2a25387c3d7 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
Diffstat (limited to 'kubernetes/policy/charts/pap/resources/config')
-rw-r--r--kubernetes/policy/charts/pap/resources/config/config.json12
1 files changed, 6 insertions, 6 deletions
diff --git a/kubernetes/policy/charts/pap/resources/config/config.json b/kubernetes/policy/charts/pap/resources/config/config.json
index 544ecdfc32..5c02ce0f12 100644
--- a/kubernetes/policy/charts/pap/resources/config/config.json
+++ b/kubernetes/policy/charts/pap/resources/config/config.json
@@ -20,8 +20,8 @@
"restServerParameters":{
"host":"0.0.0.0",
"port":6969,
- "userName":"healthcheck",
- "password":"zb!XztG34",
+ "userName":"${RESTSERVER_USER}",
+ "password":"${RESTSERVER_PASSWORD}",
"https": true,
"aaf": false
},
@@ -69,8 +69,8 @@
"clientName": "api",
"hostname": "policy-api",
"port": 6969,
- "userName": "healthcheck",
- "password": "zb!XztG34",
+ "userName": "${API_USER}",
+ "password": "${API_PASSWORD}",
"useHttps": true,
"basePath": "policy/api/v1/healthcheck"
},
@@ -78,8 +78,8 @@
"clientName": "distribution",
"hostname": "policy-distribution",
"port": 6969,
- "userName": "healthcheck",
- "password": "zb!XztG34",
+ "userName": "${DISTRIBUTION_USER}",
+ "password": "${DISTRIBUTION_PASSWORD}",
"useHttps": true,
"basePath": "healthcheck"
}]