diff --git a/clusters/my-cluster/rook-ceph/kustomization.yaml b/clusters/my-cluster/rook-ceph/kustomization.yaml new file mode 100644 index 0000000..d633fb3 --- /dev/null +++ b/clusters/my-cluster/rook-ceph/kustomization.yaml @@ -0,0 +1,8 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: rook-ceph +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