Skip to content

Commit a6745b8

Browse files
authored
Merge pull request #40 from rkivisto/update-demo-for-10-1
update CD demo values to work with CD version 10.1
2 parents 03423b5 + 85577e4 commit a6745b8

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

cloudbees-cd/kubernetes/cloudbees-cd-demo.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,28 +31,28 @@ server:
3131
zookeeper:
3232
enabled: false
3333

34+
# clusteredMode has to be false to be able to use mariadb
35+
clusteredMode: false
36+
3437
# Install mariadb chart for demo mode
3538
# and create a database and user for Flow to use.
3639
# 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
3841
# match the values in the `database` section below.
3942

4043
mariadb:
44+
enabled: true
4145
fullnameOverride: mariadb
4246
replication:
4347
enabled: false
4448
securityContext:
4549
enabled: true
4650
volumePermissions:
4751
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"
5656

5757
database:
5858
dbName: "demo"

0 commit comments

Comments
 (0)