add mariadb-operator

This commit is contained in:
Joseph Hanson 2024-11-24 14:15:26 -06:00
parent 82f111a171
commit 6a249d4435
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
8 changed files with 114 additions and 0 deletions

View file

@ -10,3 +10,4 @@ resources:
- ./dragonfly/ks.yaml
- ./emqx/ks.yaml
- ./influxdb/ks.yaml
- ./mariadb/ks.yaml

View file

@ -0,0 +1,17 @@
---
# yaml-language-server: $schema=https://ks.hsn.dev/helm.toolkit.fluxcd.io/helmrelease_v2.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: mariadb-operator-crds
spec:
interval: 30m
chart:
spec:
chart: mariadb-operator-crds
version: 0.36.0
sourceRef:
kind: HelmRepository
name: mariadb-operator
namespace: flux-system
interval: 5m

View file

@ -0,0 +1,6 @@
---
# yaml-language-server: $schema=https://ks.hsn.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
resources:
- helmrelease.yaml

View file

@ -0,0 +1,42 @@
---
# yaml-language-server: $schema=https://ks.hsn.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: &app mariadb-operator
namespace: flux-system
spec:
targetNamespace: database
commonMetadata:
labels:
app.kubernetes.io/name: *app
dependsOn:
- name: external-secrets-stores
path: ./kubernetes/apps/database/mariadb/operator
prune: true
sourceRef:
kind: GitRepository
name: theshire
wait: true
interval: 30m
timeout: 5m
---
# yaml-language-server: $schema=https://ks.hsn.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: &app mariadb-operator-crds
namespace: flux-system
spec:
targetNamespace: database
commonMetadata:
labels:
app.kubernetes.io/name: *app
path: ./kubernetes/apps/database/mariadb/crds
prune: true
sourceRef:
kind: GitRepository
name: theshire
wait: true
interval: 30m
timeout: 5m

View file

@ -0,0 +1,31 @@
---
# yaml-language-server: $schema=https://ks.hsn.dev/helm.toolkit.fluxcd.io/helmrelease_v2.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: mariadb-operator
spec:
interval: 30m
chart:
spec:
chart: mariadb-operator
version: 0.36.0
sourceRef:
kind: HelmRepository
name: mariadb-operator
namespace: flux-system
interval: 5m
values:
logLevel: debug
image:
repository: ghcr.io/mariadb-operator/mariadb-operator
pullPolicy: IfNotPresent
metrics:
enabled: true
serviceMonitor:
enabled: true
webhook:
certificate:
certManager: true
serviceMonitor:
enabled: true

View file

@ -0,0 +1,6 @@
---
# yaml-language-server: $schema=https://ks.hsn.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
resources:
- helmrelease.yaml

View file

@ -29,6 +29,7 @@ resources:
- kubernetes-sigs-metrics-server.yaml
- kubernetes-sigs-nfd.yaml
- kyverno.yaml
- mariadb.yaml
- nvidia.yaml
- openebs.yaml
- piraeus.yaml

View file

@ -0,0 +1,10 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrepository-source-v1.json
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: mariadb-operator
namespace: flux-system
spec:
interval: 1h
url: https://mariadb-operator.github.io/mariadb-operator