File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -31,28 +31,28 @@ server:
31
31
zookeeper :
32
32
enabled : false
33
33
34
+ # clusteredMode has to be false to be able to use mariadb
35
+ clusteredMode : false
36
+
34
37
# Install mariadb chart for demo mode
35
38
# and create a database and user for Flow to use.
36
39
# Note that the database user name and password
37
- # specified in the `initdbScripts` section must
40
+ # specified in the `mariadb.db.user` and `mariadb.rootUser.password` value must
38
41
# match the values in the `database` section below.
39
42
40
43
mariadb :
44
+ enabled : true
41
45
fullnameOverride : mariadb
42
46
replication :
43
47
enabled : false
44
48
securityContext :
45
49
enabled : true
46
50
volumePermissions :
47
51
enabled : true
48
- initdbScripts :
49
- demo-db.sql : |-
50
- CREATE DATABASE IF NOT EXISTS demo CHARACTER SET utf8 COLLATE utf8_unicode_ci;
51
- CREATE DATABASE IF NOT EXISTS demo_upgrade CHARACTER SET utf8 COLLATE utf8_unicode_ci;
52
- CREATE USER 'flow'@'%' IDENTIFIED BY 'flow_pass';
53
- GRANT ALL PRIVILEGES ON demo.* TO 'flow'@'%';
54
- GRANT ALL PRIVILEGES ON demo_upgrade.* TO 'flow'@'%';
55
- FLUSH PRIVILEGES;
52
+ db :
53
+ user : " flow"
54
+ rootUser :
55
+ password : " flow_pass"
56
56
57
57
database :
58
58
dbName : " demo"
You can’t perform that action at this time.
0 commit comments