summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/charts/policy-api/values.yaml
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-04-22 23:42:54 +0000
committerGerrit Code Review <gerrit@onap.org>2020-04-22 23:42:54 +0000
commit996ab96fabdf0fbba8d8f1430a7a2c6825e6ca4f (patch)
treeca15e988a9a7e24ffc4cf0e9f9bffa237f686aa7 /kubernetes/policy/charts/policy-api/values.yaml
parentbcc71aeb436a39f3f90cb2fcc99b963bc31f6104 (diff)
parent1103810e20915d95f2b02be50a69fe32f23e6576 (diff)
Merge "[POLICY] Remove hardcoded credentials from policy-api"
Diffstat (limited to 'kubernetes/policy/charts/policy-api/values.yaml')
-rw-r--r--kubernetes/policy/charts/policy-api/values.yaml11
1 files changed, 10 insertions, 1 deletions
diff --git a/kubernetes/policy/charts/policy-api/values.yaml b/kubernetes/policy/charts/policy-api/values.yaml
index 2e31f6b2ef..48eb689778 100644
--- a/kubernetes/policy/charts/policy-api/values.yaml
+++ b/kubernetes/policy/charts/policy-api/values.yaml
@@ -28,12 +28,18 @@ global:
# Secrets metaconfig
#################################################################
secrets:
- - uid: db-secret
+ - uid: db-creds
type: basicAuth
externalSecret: '{{ tpl (default "" .Values.db.credsExternalSecret) . }}'
login: '{{ .Values.db.user }}'
password: '{{ .Values.db.password }}'
passwordPolicy: required
+ - uid: restserver-creds
+ type: basicAuth
+ externalSecret: '{{ tpl (default "" .Values.restServer.credsExternalSecret) . }}'
+ login: '{{ .Values.restServer.user }}'
+ password: '{{ .Values.restServer.password }}'
+ passwordPolicy: required
#################################################################
# Application configuration defaults.
@@ -50,6 +56,9 @@ debugEnabled: false
db:
user: policy_user
password: policy_user
+restServer:
+ user: healthcheck
+ password: zb!XztG34
# default number of instances
replicaCount: 1