diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-01-07 12:44:39 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-01-07 12:44:39 +0000 |
commit | ed0ae6bbf72985a50332a34b147a3bd2c6b25a11 (patch) | |
tree | a751a743265fcb6608a8fdddbeecc0b37e94117a /kubernetes/common/mariadb-galera/values.yaml | |
parent | 769eebc4d0069f37625b2ac0a5564287e1163111 (diff) | |
parent | 01c975b4582a2eeb3ad3d72bb4ae61bc18daaae6 (diff) |
Merge changes I78e22429,Ic101f384,I8dd4128b
* changes:
Use common secret template in mariadb-galera
Improve common secret template
Add secret template to common templates
Diffstat (limited to 'kubernetes/common/mariadb-galera/values.yaml')
-rw-r--r-- | kubernetes/common/mariadb-galera/values.yaml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/kubernetes/common/mariadb-galera/values.yaml b/kubernetes/common/mariadb-galera/values.yaml index 14215e46de..a6dd1ca359 100644 --- a/kubernetes/common/mariadb-galera/values.yaml +++ b/kubernetes/common/mariadb-galera/values.yaml @@ -1,4 +1,5 @@ # Copyright © 2018 Amdocs, Bell Canada +# Copyright © 2019 Samsung Electronics # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,6 +14,21 @@ # limitations under the License. ################################################################# +# Secrets metaconfig +################################################################# +secrets: + - uid: "db-root-password" + type: password + externalSecret: '{{ tpl (default "" .Values.config.mariadbRootPasswordExternalSecret) . }}' + password: '{{ .Values.config.mariadbRootPassword }}' + - uid: "db-user-credentials" + type: basicAuth + externalSecret: '{{ tpl (default "" .Values.config.userCredentialsExternalSecret) . }}' + login: '{{ .Values.config.userName }}' + password: '{{ .Values.config.userPassword }}' + + +################################################################# # Global configuration defaults. ################################################################# global: @@ -41,7 +57,9 @@ pullPolicy: IfNotPresent # application configuration config: + # .mariadbRootPasswordExternalSecret: 'some-external-secret' mariadbRootPassword: secretpassword + # .userCredentialsExternalSecret: 'some-external-secret' userName: my-user userPassword: my-password mysqlDatabase: my-database |