#15 Introduce 'database' namespace, add mariadb to it
This commit is contained in:
parent
a2c6b0294e
commit
32c5048b1b
1 changed files with 57 additions and 0 deletions
57
deployments/operators/databases.yaml
Normal file
57
deployments/operators/databases.yaml
Normal file
|
@ -0,0 +1,57 @@
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: database
|
||||||
|
---
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: HelmRepository
|
||||||
|
metadata:
|
||||||
|
name: mariadb-operator
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
url: https://helm.mariadb.com/mariadb-operator
|
||||||
|
interval: 1h
|
||||||
|
---
|
||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: mariadb-operator-crds
|
||||||
|
namespace: database
|
||||||
|
spec:
|
||||||
|
interval: 30m
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: mariadb-operator-crds
|
||||||
|
version: 0.38.1
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: mariadb-operator
|
||||||
|
namespace: flux-system
|
||||||
|
install:
|
||||||
|
createNamespace: true
|
||||||
|
upgrade:
|
||||||
|
disableWait: true
|
||||||
|
timeout: 5m
|
||||||
|
---
|
||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: mariadb-operator
|
||||||
|
namespace: database
|
||||||
|
spec:
|
||||||
|
interval: 30m
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: mariadb-operator
|
||||||
|
version: 0.38.1
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: mariadb-operator
|
||||||
|
namespace: flux-system
|
||||||
|
install:
|
||||||
|
createNamespace: true
|
||||||
|
dependsOn:
|
||||||
|
- name: mariadb-operator-crds
|
||||||
|
namespace: mariadb-system
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue