Create database
This commit is contained in:
parent
11f02e6d67
commit
b9bad910a3
2 changed files with 16 additions and 0 deletions
|
@ -12,6 +12,9 @@ spec:
|
||||||
- name: mariadb-operators
|
- name: mariadb-operators
|
||||||
path: applications/20-databases/mariadb-operators
|
path: applications/20-databases/mariadb-operators
|
||||||
wave: 1
|
wave: 1
|
||||||
|
- name: mariadb-database
|
||||||
|
path: applications/20-databases/mariadb-database
|
||||||
|
wave: 2
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
name: '{{.name}}'
|
name: '{{.name}}'
|
||||||
|
|
13
applications/20-databases/mariadb-database/database.yaml
Normal file
13
applications/20-databases/mariadb-database/database.yaml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
---
|
||||||
|
apiVersion: k8s.mariadb.com/v1alpha1
|
||||||
|
kind: MariaDB
|
||||||
|
metadata:
|
||||||
|
name: mariadb
|
||||||
|
namespace: database
|
||||||
|
spec:
|
||||||
|
rootPasswordSecretKeyRef:
|
||||||
|
name: db-secrets
|
||||||
|
key: db-root-password
|
||||||
|
|
||||||
|
storage:
|
||||||
|
size: 5Gi
|
Loading…
Add table
Add a link
Reference in a new issue