summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/charts/pdp/values.yaml
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-04-01 00:46:48 +0200
committerKrzysztof Opasiak <k.opasiak@samsung.com>2020-04-01 02:08:27 +0200
commite0784a99d0f45494d1524bd5cea4d979d57a7618 (patch)
tree7108cd5bcae4d9bf4f571f8892dbb736e79cebce /kubernetes/policy/charts/pdp/values.yaml
parent02adcb74d77ece36662834ade0f970f597214c1c (diff)
[POLICY] Use common secret template in pdp
Use common secret template in pdp module to override DB credentials comming from policy-common. For now db creds are hardcoded but will be remove in further commits. Issue-ID: OOM-2342 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I7e2304a79e0c92b5e7e32170135fd59769a21899
Diffstat (limited to 'kubernetes/policy/charts/pdp/values.yaml')
-rw-r--r--kubernetes/policy/charts/pdp/values.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/kubernetes/policy/charts/pdp/values.yaml b/kubernetes/policy/charts/pdp/values.yaml
index 8b3b9d4a3b..7b9c561a61 100644
--- a/kubernetes/policy/charts/pdp/values.yaml
+++ b/kubernetes/policy/charts/pdp/values.yaml
@@ -24,6 +24,17 @@ global:
loggingImage: beats/filebeat:5.5.0
#################################################################
+# Secrets metaconfig
+#################################################################
+secrets:
+ - uid: db-secret
+ type: basicAuth
+ externalSecret: '{{ tpl (default "" .Values.db.credsExternalSecret) . }}'
+ login: '{{ .Values.db.user }}'
+ password: '{{ .Values.db.password }}'
+ passwordPolicy: required
+
+#################################################################
# Application configuration defaults.
#################################################################
# application image
@@ -35,6 +46,11 @@ pullPolicy: Always
debugEnabled: false
# application configuration
+
+db:
+ user: policy_user
+ password: policy_user
+
config:
papPort: 9091