diff --git a/infrastructure/rook/cluster.yaml b/infrastructure/rook/cluster.yaml new file mode 100644 index 0000000000000000000000000000000000000000..913b8e20f639eadcf3132c83e3cb0c382ee0b66d --- /dev/null +++ b/infrastructure/rook/cluster.yaml @@ -0,0 +1,35 @@ +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + name: rook-ceph-cluster + namespace: rook-ceph +spec: + releaseName: rook-ceph-cluster + chart: + spec: + chart: rook-ceph-cluster + sourceRef: + kind: HelmRepository + name: rook-release + namespace: rook-ceph + version: v1.10.6 + interval: 5m + install: + crds: CreateReplace + upgrade: + crds: CreateReplace + valuesFrom: + - kind: ConfigMap + name: rook-ceph-cluster-base-values + valuesKey: values.yaml + - kind: Secret + name: rook-ceph-cluster-overwrite + valuesKey: values-overwrite.yaml +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: rook-ceph-cluster-base-values + namespace: rook-ceph +data: + values.yaml: | \ No newline at end of file diff --git a/infrastructure/rook/kustomization.yaml b/infrastructure/rook/kustomization.yaml index 877a4982bb977b50f572016f8da816c2080749a4..799a6390c3e74b6d5e750cffd55a8c652517dcc1 100644 --- a/infrastructure/rook/kustomization.yaml +++ b/infrastructure/rook/kustomization.yaml @@ -5,3 +5,4 @@ resources: - namespace.yaml - repository.yaml - operator.yaml + - cluster.yaml diff --git a/infrastructure/rook/operator.yaml b/infrastructure/rook/operator.yaml index 7267a210ccfcefa1e6a525afc273c180d725dc51..afcfc3d443a0fd834585a6ba5b0f56bab580264d 100644 --- a/infrastructure/rook/operator.yaml +++ b/infrastructure/rook/operator.yaml @@ -7,7 +7,7 @@ spec: releaseName: rook-ceph chart: spec: - chart: postgres-operator + chart: rook-ceph sourceRef: kind: HelmRepository name: rook-release