summaryrefslogtreecommitdiffstats
path: root/kubernetes/so/charts/so-monitoring/values.yaml
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-03-24 21:44:00 +0100
committerKrzysztof Opasiak <k.opasiak@samsung.com>2020-03-25 00:50:53 +0100
commit0be83cbe4d8fea4d329c3597d44c522758fea4d7 (patch)
tree6c448b5dbaffaed7c7d466d142afda16384e4709 /kubernetes/so/charts/so-monitoring/values.yaml
parent587b6e662a8b9c4d662444783e40247d6b145c6a (diff)
[SO] Use common secret template in so-monitoring
Use common secret template in so-monitoring component. For now passwords are stil hardcoded but this will be removed in further commits. Issue-ID: OOM-2328 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: Iff0ae7e14924d5e4e3484e509a7a4962f623e487
Diffstat (limited to 'kubernetes/so/charts/so-monitoring/values.yaml')
-rw-r--r--kubernetes/so/charts/so-monitoring/values.yaml27
1 files changed, 26 insertions, 1 deletions
diff --git a/kubernetes/so/charts/so-monitoring/values.yaml b/kubernetes/so/charts/so-monitoring/values.yaml
index ae3f385c83..d3904234e2 100644
--- a/kubernetes/so/charts/so-monitoring/values.yaml
+++ b/kubernetes/so/charts/so-monitoring/values.yaml
@@ -29,12 +29,37 @@ global:
mountPath: /dockerdata-nfs
#################################################################
+# Secrets metaconfig
+#################################################################
+secrets:
+ - uid: db-user-creds
+ type: basicAuth
+ externalSecret: '{{ .Values.db.userCredsExternalSecret }}'
+ login: '{{ .Values.db.userName }}'
+ password: '{{ .Values.db.userPassword }}'
+ passwordPolicy: required
+ - uid: db-admin-creds
+ type: basicAuth
+ externalSecret: '{{ .Values.db.adminCredsExternalSecret }}'
+ login: '{{ .Values.db.adminName }}'
+ password: '{{ .Values.db.adminPassword }}'
+ passwordPolicy: required
+
+#################################################################
# Application configuration defaults.
#################################################################
repository: nexus3.onap.org:10001
image: onap/so/so-monitoring:1.5.3
pullPolicy: Always
+db:
+ userName: so_user
+ userPassword: so_User123
+ # userCredsExternalSecret: some secret
+ adminName: so_admin
+ adminPassword: so_Admin123
+ # adminCredsExternalSecret: some secret
+
replicaCount: 1
minReadySeconds: 10
containerPort: 9091
@@ -91,4 +116,4 @@ ingress:
ssl: "none"
nodeSelector: {}
tolerations: []
-affinity: {} \ No newline at end of file
+affinity: {}