From 5bc91e5f7a22e547b76d32cc4c4679eb7e1dc753 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Thu, 15 Aug 2024 23:40:00 -0500 Subject: [PATCH] Add Rook Ceph --- clusters/my-cluster/rook-ceph/kustomization.yaml | 8 ++++++++ clusters/my-cluster/rook-ceph/namespace.yaml | 5 +++++ clusters/my-cluster/rook-ceph/release.yaml | 15 +++++++++++++++ clusters/my-cluster/rook-ceph/repository.yaml | 9 +++++++++ 4 files changed, 37 insertions(+) create mode 100644 clusters/my-cluster/rook-ceph/kustomization.yaml create mode 100644 clusters/my-cluster/rook-ceph/namespace.yaml create mode 100644 clusters/my-cluster/rook-ceph/release.yaml create mode 100644 clusters/my-cluster/rook-ceph/repository.yaml diff --git a/clusters/my-cluster/rook-ceph/kustomization.yaml b/clusters/my-cluster/rook-ceph/kustomization.yaml new file mode 100644 index 0000000..283b45d --- /dev/null +++ b/clusters/my-cluster/rook-ceph/kustomization.yaml @@ -0,0 +1,8 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: traefik +resources: + - namespace.yaml + - repository.yaml + - release.yaml diff --git a/clusters/my-cluster/rook-ceph/namespace.yaml b/clusters/my-cluster/rook-ceph/namespace.yaml new file mode 100644 index 0000000..1696c56 --- /dev/null +++ b/clusters/my-cluster/rook-ceph/namespace.yaml @@ -0,0 +1,5 @@ +--- +apiVersion: v1 +kind: Namespace +metadata: + name: rook-ceph diff --git a/clusters/my-cluster/rook-ceph/release.yaml b/clusters/my-cluster/rook-ceph/release.yaml new file mode 100644 index 0000000..3f03089 --- /dev/null +++ b/clusters/my-cluster/rook-ceph/release.yaml @@ -0,0 +1,15 @@ +--- +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: rook-ceph + namespace: root-ceph +spec: + releaseName: rook-release + chart: + spec: + chart: rook-ceph + sourceRef: + kind: HelmRepository + name: rook-release + interval: 50m diff --git a/clusters/my-cluster/rook-ceph/repository.yaml b/clusters/my-cluster/rook-ceph/repository.yaml new file mode 100644 index 0000000..aacbf1e --- /dev/null +++ b/clusters/my-cluster/rook-ceph/repository.yaml @@ -0,0 +1,9 @@ +--- +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: rook-release + namespace: rook-ceph +spec: + interval: 5m + url: https://charts.rook.io/release