diff --git a/infrastructure/databases/mariadb-operator/crds/helmrelease.yaml b/infrastructure/databases/mariadb-operator/crds/helmrelease.yaml new file mode 100644 index 0000000..adaff3e --- /dev/null +++ b/infrastructure/databases/mariadb-operator/crds/helmrelease.yaml @@ -0,0 +1,15 @@ +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: mariadb-operator-crds + namespace: mariadb-operator-system +spec: + interval: 1h + chart: + spec: + chart: mariadb-operator-crds + version: "*" + sourceRef: + kind: HelmRepository + name: mariadb-operator + namespace: flux-system diff --git a/infrastructure/databases/mariadb-operator/crds/kustomization.yaml b/infrastructure/databases/mariadb-operator/crds/kustomization.yaml new file mode 100644 index 0000000..e0cdec2 --- /dev/null +++ b/infrastructure/databases/mariadb-operator/crds/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - helmrelease.yaml diff --git a/infrastructure/databases/mariadb-operator/kustomization.yaml b/infrastructure/databases/mariadb-operator/kustomization.yaml index ed5917b..abbcb8d 100644 --- a/infrastructure/databases/mariadb-operator/kustomization.yaml +++ b/infrastructure/databases/mariadb-operator/kustomization.yaml @@ -3,6 +3,7 @@ kind: Kustomization resources: - helmrelease.yaml - namespace.yaml +- crds #namespace: mariadb-operator-system