aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/charts/policy-apex-pdp/values.yaml
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-05-13 14:04:46 +0000
committerGerrit Code Review <gerrit@onap.org>2020-05-13 14:04:46 +0000
commit1b8e5ab5581c078ae732f844304162de1f05a320 (patch)
tree24524d1a5d9e202f49e46e1d36ff97dad75d2bbd /kubernetes/policy/charts/policy-apex-pdp/values.yaml
parent6c864e26a40b564b0e8ac403a3bfcfef9198566f (diff)
parentb8c44b484f4dbe628ceef49b628163ade47101bc (diff)
Merge "[POLICY] Remove hardcoded credentials from policy-apex-pdp"
Diffstat (limited to 'kubernetes/policy/charts/policy-apex-pdp/values.yaml')
-rw-r--r--kubernetes/policy/charts/policy-apex-pdp/values.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/kubernetes/policy/charts/policy-apex-pdp/values.yaml b/kubernetes/policy/charts/policy-apex-pdp/values.yaml
index 1fdc215ff7..8730c9ef29 100644
--- a/kubernetes/policy/charts/policy-apex-pdp/values.yaml
+++ b/kubernetes/policy/charts/policy-apex-pdp/values.yaml
@@ -25,6 +25,21 @@ global:
persistence: {}
#################################################################
+# Secrets metaconfig
+#################################################################
+secrets:
+ - uid: restserver-creds
+ type: basicAuth
+ externalSecret: '{{ tpl (default "" .Values.restServer.credsExternalSecret) . }}'
+ login: '{{ .Values.restServer.user }}'
+ password: '{{ .Values.restServer.password }}'
+ - uid: truststore-pass
+ type: password
+ externalSecret: '{{ tpl (default "" .Values.truststore.passwordExternalSecret) . }}'
+ password: '{{ .Values.truststore.password }}'
+ policy: required
+
+#################################################################
# Application configuration defaults.
#################################################################
# application image
@@ -37,6 +52,12 @@ debugEnabled: false
# application configuration
+restServer:
+ user: healthcheck
+ password: zb!XztG34
+truststore:
+ password: Pol1cy_0nap
+
# default number of instances
replicaCount: 1