summaryrefslogtreecommitdiffstats
path: root/kubernetes/vfc/charts/vfc-vnfmgr/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-vnfmgr/values.yaml
parent13661d29724537142268009290fb5974d458bc3e (diff)
parenta9010dbb8d78fd31f419d659532440c27ad3ee7b (diff)
Merge "[VFC] Use common secret template for DB root password"
Diffstat (limited to 'kubernetes/vfc/charts/vfc-vnfmgr/values.yaml')
-rw-r--r--kubernetes/vfc/charts/vfc-vnfmgr/values.yaml18
1 files changed, 16 insertions, 2 deletions
diff --git a/kubernetes/vfc/charts/vfc-vnfmgr/values.yaml b/kubernetes/vfc/charts/vfc-vnfmgr/values.yaml
index fdd38e68e9..9cceb9f051 100644
--- a/kubernetes/vfc/charts/vfc-vnfmgr/values.yaml
+++ b/kubernetes/vfc/charts/vfc-vnfmgr/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,11 @@ istioSidecar: true
debugEnabled: false
# application configuration
-config: {}
+config:
+ mariadbService: vfc-mariadb
+ mariadbPort: 3306
+ # mariadbRootPassword: secretpassword
+ # mariadbRootPasswordExternalSecret: some secret
# default number of instances
replicaCount: 1
@@ -87,4 +101,4 @@ resources:
requests:
cpu: 200m
memory: 500Mi
- unlimited: {} \ No newline at end of file
+ unlimited: {}