diff --git a/clusters/titan.lan.huizinga.dev/apps.yaml b/clusters/titan.lan.huizinga.dev/apps.yaml index 3f2d94c..53257ce 100644 --- a/clusters/titan.lan.huizinga.dev/apps.yaml +++ b/clusters/titan.lan.huizinga.dev/apps.yaml @@ -8,6 +8,7 @@ spec: - name: infra-configs - name: traefik - name: topolvm + - name: rook-ceph-cluster decryption: provider: sops secretRef: diff --git a/clusters/titan.lan.huizinga.dev/infra/rook-ceph-cluster.yaml b/clusters/titan.lan.huizinga.dev/infra/rook-ceph-cluster.yaml new file mode 100644 index 0000000..c211cac --- /dev/null +++ b/clusters/titan.lan.huizinga.dev/infra/rook-ceph-cluster.yaml @@ -0,0 +1,20 @@ +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: rook-ceph-cluster + namespace: flux-system +spec: + interval: 15m + path: ./infra/rook-ceph-cluster + dependsOn: + - name: cert-manager + prune: true + timeout: 2m + sourceRef: + kind: GitRepository + name: flux-system + wait: true + postBuild: + substituteFrom: + - kind: ConfigMap + name: domain-vars diff --git a/clusters/titan.lan.huizinga.dev/infra/rook-ceph.yaml b/clusters/titan.lan.huizinga.dev/infra/rook-ceph.yaml new file mode 100644 index 0000000..a14911e --- /dev/null +++ b/clusters/titan.lan.huizinga.dev/infra/rook-ceph.yaml @@ -0,0 +1,14 @@ +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: rook-ceph + namespace: flux-system +spec: + interval: 15m + path: ./infra/rook-ceph + prune: true + timeout: 2m + sourceRef: + kind: GitRepository + name: flux-system + wait: true diff --git a/infrastructure/controllers/rook/helm-release-cluster.yaml b/infra/rook-ceph-cluster/helm-release.yaml similarity index 100% rename from infrastructure/controllers/rook/helm-release-cluster.yaml rename to infra/rook-ceph-cluster/helm-release.yaml diff --git a/infra/rook-ceph-cluster/kustomization.yaml b/infra/rook-ceph-cluster/kustomization.yaml new file mode 100644 index 0000000..79ce5ae --- /dev/null +++ b/infra/rook-ceph-cluster/kustomization.yaml @@ -0,0 +1,5 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: rook-ceph +resources: + - ./helm-release.yaml diff --git a/infrastructure/controllers/rook/helm-release-operator.yaml b/infra/rook-ceph/helm-release.yaml similarity index 100% rename from infrastructure/controllers/rook/helm-release-operator.yaml rename to infra/rook-ceph/helm-release.yaml diff --git a/infrastructure/controllers/rook/helm-repository.yaml b/infra/rook-ceph/helm-repository.yaml similarity index 100% rename from infrastructure/controllers/rook/helm-repository.yaml rename to infra/rook-ceph/helm-repository.yaml diff --git a/infrastructure/controllers/rook/kustomization.yaml b/infra/rook-ceph/kustomization.yaml similarity index 68% rename from infrastructure/controllers/rook/kustomization.yaml rename to infra/rook-ceph/kustomization.yaml index 2915ba2..b6ce735 100644 --- a/infrastructure/controllers/rook/kustomization.yaml +++ b/infra/rook-ceph/kustomization.yaml @@ -4,5 +4,4 @@ namespace: rook-ceph resources: - ./namespace.yaml - ./helm-repository.yaml - - ./helm-release-operator.yaml - - ./helm-release-cluster.yaml + - ./helm-release.yaml diff --git a/infrastructure/controllers/rook/namespace.yaml b/infra/rook-ceph/namespace.yaml similarity index 100% rename from infrastructure/controllers/rook/namespace.yaml rename to infra/rook-ceph/namespace.yaml diff --git a/infrastructure/controllers/kustomization.yaml b/infrastructure/controllers/kustomization.yaml index 12f5b26..15d9b6c 100644 --- a/infrastructure/controllers/kustomization.yaml +++ b/infrastructure/controllers/kustomization.yaml @@ -3,7 +3,6 @@ kind: Kustomization resources: - akri.yaml - cloudnative-pg.yaml - - ./rook - ./node-feature-discovery - https://raw.githubusercontent.com/dragonflydb/dragonfly-operator/refs/tags/v1.1.8/manifests/dragonfly-operator.yaml - https://github.com/kubernetes-csi/external-snapshotter//client/config/crd?ref=v8.2.0