diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-05-05 06:22:17 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-05-05 06:22:17 +0000 |
commit | 32c2ebb4a84e4cc9ae6b31a45d3f2a103cf9d8a6 (patch) | |
tree | bf3e064246d64fea235f08fb6c62c1168df400bc /kubernetes/clamp/charts/mariadb/values.yaml | |
parent | 180578d41ed15c8e349faa943fa82bf41a145779 (diff) | |
parent | 26df3202534721dc7ed6e3c2b9c4a973502cc7cd (diff) |
Merge "remove hardcoded MariaDB password"
Diffstat (limited to 'kubernetes/clamp/charts/mariadb/values.yaml')
-rw-r--r-- | kubernetes/clamp/charts/mariadb/values.yaml | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/kubernetes/clamp/charts/mariadb/values.yaml b/kubernetes/clamp/charts/mariadb/values.yaml index 8bf6100563..df651dd9ea 100644 --- a/kubernetes/clamp/charts/mariadb/values.yaml +++ b/kubernetes/clamp/charts/mariadb/values.yaml @@ -20,18 +20,27 @@ global: # global defaults nodePortPrefix: 302 persistence: {} - # application image repository: nexus3.onap.org:10001 image: mariadb:10.3.12 pullPolicy: Always flavor: small - ################################################################# -# Application configuration defaults. +# Secrets metaconfig ################################################################# -config: - mysqlPassword: strong_pitchou +secrets: + - uid: db-root-pass + type: password + externalSecret: '{{ tpl (default "" .Values.db.rootCredsExternalSecret) . }}' + password: '{{ .Values.db.rootPass }}' + - uid: db-secret + type: basicAuth + externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}' + login: '{{ .Values.db.user }}' + password: '{{ .Values.db.password }}' + +# Application configuration +db: {} # default number of instances replicaCount: 1 |