summaryrefslogtreecommitdiffstats
path: root/kubernetes/vfc/charts/vfc-vnflcm/values.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-03-09 16:04:02 +0000
committerGerrit Code Review <gerrit@onap.org>2020-03-09 16:04:02 +0000
commit5dddd2fb77faaf18031d3791a18c210772f366f4 (patch)
tree8700fc3e5ad05cac2a4b160f180dee0cfa2a4443 /kubernetes/vfc/charts/vfc-vnflcm/values.yaml
parent13661d29724537142268009290fb5974d458bc3e (diff)
parenta9010dbb8d78fd31f419d659532440c27ad3ee7b (diff)
Merge "[VFC] Use common secret template for DB root password"
Diffstat (limited to 'kubernetes/vfc/charts/vfc-vnflcm/values.yaml')
-rw-r--r--kubernetes/vfc/charts/vfc-vnflcm/values.yaml19
1 files changed, 17 insertions, 2 deletions
diff --git a/kubernetes/vfc/charts/vfc-vnflcm/values.yaml b/kubernetes/vfc/charts/vfc-vnflcm/values.yaml
index 4883833182..b58f30b28d 100644
--- a/kubernetes/vfc/charts/vfc-vnflcm/values.yaml
+++ b/kubernetes/vfc/charts/vfc-vnflcm/values.yaml
@@ -23,6 +23,16 @@ global:
loggingImage: beats/filebeat:5.5.0
#################################################################
+# Secrets metaconfig
+#################################################################
+secrets:
+ - uid: "db-root-pass"
+ externalSecret: '{{ tpl (default "" .Values.config.mariadbRootPasswordExternalSecret) . }}'
+ type: password
+ password: '{{ .Values.config.mariadbRootPassword }}'
+ policy: required
+
+#################################################################
# Application configuration defaults.
#################################################################
# application image
@@ -39,7 +49,12 @@ istioSidecar: true
debugEnabled: false
# application configuration
-config: {}
+config:
+ mariadbService: vfc-mariadb
+ mariadbPort: 3306
+ # mariadbRootPassword: secretpassword
+ # mariadbRootPasswordExternalSecret: some secret
+
# default number of instances
replicaCount: 1
@@ -88,4 +103,4 @@ resources:
requests:
cpu: 200m
memory: 500Mi
- unlimited: {} \ No newline at end of file
+ unlimited: {}