Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Commit

Permalink
cd: update to use rook-ceph instead of koor actively
Browse files Browse the repository at this point in the history
Signed-off-by: Deepika Upadhyay <deepika@koor.tech>
  • Loading branch information
Deepika Upadhyay committed Nov 29, 2023
1 parent 47c7743 commit 3f031c3
Show file tree
Hide file tree
Showing 7 changed files with 722 additions and 1 deletion.
14 changes: 14 additions & 0 deletions flux/flux-system/kustomization-rook-ceph.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# this will deploy all yamls present in rook-ceph path
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
kind: Kustomization
metadata:
name: rook-ceph
namespace: flux-system
spec:
interval: 30m
path: ./flux/flux-system/rook-ceph
prune: true # remove any elements later removed from the above path
timeout: 10m # if not set, this defaults to interval duration, which is 1h
sourceRef:
kind: GitRepository
name: flux-system
3 changes: 2 additions & 1 deletion flux/flux-system/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ kind: Kustomization
resources:
- gotk-components.yaml
- gotk-sync.yaml
- kustomization-koor-ceph.yaml
- kustomization-rook-ceph.yaml
# - kustomization-koor-ceph.yaml
20 changes: 20 additions & 0 deletions flux/flux-system/rook-ceph/helmrelease-rook-ceph-cluster.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: rook-ceph-cluster
namespace: rook-ceph
spec:
chart:
spec:
chart: rook-ceph-cluster
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: rook-release
version: v1.12.0
interval: 1m0s
timeout: 10m
valuesFrom:
- kind: ConfigMap
name: rook-ceph-helm-chart-value-overrides
valuesKey: values.yaml
20 changes: 20 additions & 0 deletions flux/flux-system/rook-ceph/helmrelease-rook-ceph.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: rook-release
namespace: rook-ceph
spec:
chart:
spec:
chart: rook-ceph
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: rook-release
version: v1.12.0
interval: 1m0s
timeout: 10m
valuesFrom:
- kind: ConfigMap
name: rook-ceph-helm-chart-value-overrides
valuesKey: values.yaml
8 changes: 8 additions & 0 deletions flux/flux-system/rook-ceph/helmrepository-rook-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: rook-release
namespace: flux-system
spec:
interval: 15m
url: https://charts.rook.io/release
4 changes: 4 additions & 0 deletions flux/flux-system/rook-ceph/namespace-rook-ceph.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: rook-ceph
Loading

0 comments on commit 3f031c3

Please sign in to comment.