summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/charts/policy-xacml-pdp/values.yaml
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-04-23 20:37:00 +0000
committerGerrit Code Review <gerrit@onap.org>2020-04-23 20:37:00 +0000
commita3210a7f84335fe4626ccd52ff5d633e7fd3c70e (patch)
treefa4146b86f8f289abb929b119d3d692cbd2a4b96 /kubernetes/policy/charts/policy-xacml-pdp/values.yaml
parent2aceb30bd007dbe558419210f2f3a0753b909d98 (diff)
parentc88bcc9611987c44efec88acab6f0261350a4968 (diff)
Merge "[POLICY] Remove hardcoded credentials from policy-xacml-pdp"
Diffstat (limited to 'kubernetes/policy/charts/policy-xacml-pdp/values.yaml')
-rw-r--r--kubernetes/policy/charts/policy-xacml-pdp/values.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/kubernetes/policy/charts/policy-xacml-pdp/values.yaml b/kubernetes/policy/charts/policy-xacml-pdp/values.yaml
index a2c0aa0e63..63f50fd7fa 100644
--- a/kubernetes/policy/charts/policy-xacml-pdp/values.yaml
+++ b/kubernetes/policy/charts/policy-xacml-pdp/values.yaml
@@ -21,6 +21,7 @@
#################################################################
global:
persistence: {}
+ envsubstImage: dibi/envsubst
#################################################################
# Secrets metaconfig
@@ -32,6 +33,18 @@ secrets:
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
+ - uid: api-creds
+ type: basicAuth
+ externalSecret: '{{ tpl (default "" .Values.apiServer.credsExternalSecret) . }}'
+ login: '{{ .Values.apiServer.user }}'
+ password: '{{ .Values.apiServer.password }}'
+ passwordPolicy: required
#################################################################
# Application configuration defaults.
@@ -49,6 +62,12 @@ debugEnabled: false
db:
user: policy_user
password: policy_user
+restServer:
+ user: healthcheck
+ password: zb!XztG34
+apiServer:
+ user: healthcheck
+ password: zb!XztG34
# default number of instances
replicaCount: 1