summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-01-23 01:03:41 +0100
committerKrzysztof Opasiak <k.opasiak@samsung.com>2020-02-01 00:10:01 +0100
commit3ed9c940d61526344303ad29d9ce1dc50eb4117a (patch)
tree930ed9e7920c4f4e5883baa1775182ce2826cbd0
parentabeaed4822ecf2907617d6b56127b4ff1302ce30 (diff)
[COMMON] Don't create dummy mysql DB by default in a shared instance
When deploying a shared mariadb-galera instance using common chart a dummy database is created based on the default values n the chart. This is obviously unnecessary and creates an obviousl security issue. That's why let's make sure that when we deploy a shared mariadb instance no dummy databases are created. Issue-ID: OOM-2053 Change-Id: I1130cb8eb555b15a2d8b365102d69e32259233eb Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
-rw-r--r--kubernetes/common/mariadb-galera/values.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/common/mariadb-galera/values.yaml b/kubernetes/common/mariadb-galera/values.yaml
index 1dcc88c3b5..dabf21da79 100644
--- a/kubernetes/common/mariadb-galera/values.yaml
+++ b/kubernetes/common/mariadb-galera/values.yaml
@@ -61,8 +61,8 @@ config:
mariadbRootPassword: secretpassword
# .userCredentialsExternalSecret: 'some-external-secret'
userName: my-user
- userPassword: my-password
- mysqlDatabase: my-database
+ # userPassword: my-password
+ # mysqlDatabase: my-database
# default number of instances in the StatefulSet
replicaCount: 3