Skip to content

Commit

Permalink
Fix mariadb dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Gu <[email protected]>
  • Loading branch information
tylergu committed Sep 11, 2024
1 parent 68dcb98 commit 692d794
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
7 changes: 6 additions & 1 deletion data/mariadb-operator/v0.30.0/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,18 @@
{
"helm_install": {
"release_name": "mariadb-operator",
"chart": "mariadb-operator/mariadb-operator",
"chart": "mariadb-operator",
"repo": "https://helm.mariadb.com/mariadb-operator",
"version": "0.30.0",
"operator": true,
"operator_deployment_name": "mariadb-operator",
"operator_container_name": "controller"
}
},
{
"apply": {
"file": "data/mariadb-operator/v0.30.0/mariadb-dependencies.yaml"
}
}
]
},
Expand Down
38 changes: 38 additions & 0 deletions data/mariadb-operator/v0.30.0/mariadb-dependencies.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
apiVersion: v1
kind: Secret
metadata:
name: mariadb-auth
stringData:
# -- SELECT PASSWORD('MariaDB11!');
passwordHash: "*57685B4F0FF9D049082E296E2C39354B7A98774E"
# -- CREATE FUNCTION ed25519_password RETURNS STRING SONAME "auth_ed25519.so";
# -- SELECT ed25519_password("MariaDB11!");
ed25519Hash: LaiG/7DSlQ+t1zlYnMR7he1kSf3u7Hzo2ElLon4mJ4w
ed25519Plugin: ed25519
nativePasswordPlugin: mysql_native_password
---
apiVersion: v1
kind: ConfigMap
metadata:
name: mariadb
labels:
k8s.mariadb.com/watch: ""
data:
my.cnf: |
[mariadb]
bind-address=*
default_storage_engine=InnoDB
binlog_format=row
innodb_autoinc_lock_mode=2
innodb_buffer_pool_size=1024M
max_allowed_packet=256M
---
apiVersion: v1
kind: Secret
metadata:
name: mariadb
labels:
k8s.mariadb.com/watch: ""
stringData:
password: MariaDB11!
root-password: MariaDB11!

0 comments on commit 692d794

Please sign in to comment.