added mariadb operator
This commit is contained in:
parent
c854ece55f
commit
bda735a637
26
infrastructure/databases/mariadb-operator/helmrelease.yaml
Normal file
26
infrastructure/databases/mariadb-operator/helmrelease.yaml
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: mariadb-operator
|
||||||
|
namespace: mariadb-system
|
||||||
|
spec:
|
||||||
|
interval: 1h
|
||||||
|
releaseName: mariadb-operator
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: mariadb-operator
|
||||||
|
version: "*"
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: mariadb-operator
|
||||||
|
namespace: flux-system
|
||||||
|
install:
|
||||||
|
crds: Create
|
||||||
|
upgrade:
|
||||||
|
crds: CreateReplace
|
||||||
|
# values:
|
||||||
|
# replicaCount: 1
|
||||||
|
valuesFrom:
|
||||||
|
- kind: ConfigMap
|
||||||
|
name: mariadb-values
|
||||||
|
valuesKey: values.yaml
|
||||||
15
infrastructure/databases/mariadb-operator/kustomization.yaml
Normal file
15
infrastructure/databases/mariadb-operator/kustomization.yaml
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- helmrelease.yaml
|
||||||
|
- namespace.yaml
|
||||||
|
|
||||||
|
namespace: mariadb-operator-system
|
||||||
|
|
||||||
|
configMapGenerator:
|
||||||
|
- name: mariadb-operator-values
|
||||||
|
files:
|
||||||
|
- values.yaml
|
||||||
|
|
||||||
|
generatorOptions:
|
||||||
|
disableNameSuffixHash: true
|
||||||
4
infrastructure/databases/mariadb-operator/namespace.yaml
Normal file
4
infrastructure/databases/mariadb-operator/namespace.yaml
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: mariadb-operator-system
|
||||||
8
infrastructure/sources/mariadb-operator.yaml
Normal file
8
infrastructure/sources/mariadb-operator.yaml
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: HelmRepository
|
||||||
|
metadata:
|
||||||
|
name: mariadb-operator
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 1h
|
||||||
|
url: https://helm.mariadb.com/mariadb-operator
|
||||||
Loading…
Reference in a new issue