From 928dc764318efc888ba6aa9f59d3b3b74a81a780 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Fri, 4 Oct 2024 23:08:30 +0200 Subject: [PATCH] Added rook operator --- infrastructure/controllers/kustomization.yaml | 1 + infrastructure/controllers/rook.yaml | 29 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 infrastructure/controllers/rook.yaml diff --git a/infrastructure/controllers/kustomization.yaml b/infrastructure/controllers/kustomization.yaml index 7185ae5..b792a29 100644 --- a/infrastructure/controllers/kustomization.yaml +++ b/infrastructure/controllers/kustomization.yaml @@ -4,3 +4,4 @@ resources: - akri.yaml - cert-manager.yaml - traefik.yaml + - rook.yaml diff --git a/infrastructure/controllers/rook.yaml b/infrastructure/controllers/rook.yaml new file mode 100644 index 0000000..cfd997f --- /dev/null +++ b/infrastructure/controllers/rook.yaml @@ -0,0 +1,29 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: rook-ceph +--- +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: rook-release + namespace: rook-ceph +spec: + interval: 1m0s + url: https://charts.rook.io/release +--- +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: rook-ceph + namespace: rook-ceph +spec: + chart: + spec: + chart: rook-ceph + reconcileStrategy: ChartVersion + sourceRef: + kind: HelmRepository + name: rook-release + version: 1.15.3 + interval: 1m0s