Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[Policy] Remove hardcoded credentials from pap
[oom.git]
/
kubernetes
/
policy
/
charts
/
pap
/
resources
/
config
/
config.json
diff --git
a/kubernetes/policy/charts/pap/resources/config/config.json
b/kubernetes/policy/charts/pap/resources/config/config.json
index
544ecdf
..
5c02ce0
100644
(file)
--- 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,
"restServerParameters":{
"host":"0.0.0.0",
"port":6969,
- "userName":"
healthcheck
",
- "password":"
zb!XztG34
",
+ "userName":"
${RESTSERVER_USER}
",
+ "password":"
${RESTSERVER_PASSWORD}
",
"https": true,
"aaf": false
},
"https": true,
"aaf": false
},
@@
-69,8
+69,8
@@
"clientName": "api",
"hostname": "policy-api",
"port": 6969,
"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"
},
"useHttps": true,
"basePath": "policy/api/v1/healthcheck"
},
@@
-78,8
+78,8
@@
"clientName": "distribution",
"hostname": "policy-distribution",
"port": 6969,
"clientName": "distribution",
"hostname": "policy-distribution",
"port": 6969,
- "userName": "
healthcheck
",
- "password": "
zb!XztG34
",
+ "userName": "
${DISTRIBUTION_USER}
",
+ "password": "
${DISTRIBUTION_PASSWORD}
",
"useHttps": true,
"basePath": "healthcheck"
}]
"useHttps": true,
"basePath": "healthcheck"
}]