From b90317f2f3fd71c73b6fdb4159478add5a2004ed Mon Sep 17 00:00:00 2001 From: "SIGUNOV, VLADIMIR (vs422h)" Date: Thu, 25 Feb 2021 15:57:53 -0500 Subject: [PATCH] ROOK-Ceph operator This change adds functions for deploying the following chart: - rook-release/rook-ceph (version 1.5.8) Relates-To: #30 Change-Id: If1b089474b679823c23e38e531b7ed6d965cd756 --- .../function/rook-operator/helmrelease.yaml | 21 +++++++++++++++++++ .../rook-operator/helmrepository.yaml | 7 +++++++ .../function/rook-operator/kustomization.yaml | 6 ++++++ .../function/rook-operator/namespace.yaml | 4 ++++ 4 files changed, 38 insertions(+) create mode 100644 manifests/function/rook-operator/helmrelease.yaml create mode 100644 manifests/function/rook-operator/helmrepository.yaml create mode 100644 manifests/function/rook-operator/kustomization.yaml create mode 100644 manifests/function/rook-operator/namespace.yaml diff --git a/manifests/function/rook-operator/helmrelease.yaml b/manifests/function/rook-operator/helmrelease.yaml new file mode 100644 index 000000000..70aef083e --- /dev/null +++ b/manifests/function/rook-operator/helmrelease.yaml @@ -0,0 +1,21 @@ +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + name: rook-ceph-operator + namespace: rook-ceph +spec: + releaseName: rook-release + interval: 5m + chart: + spec: + chart: rook-ceph + sourceRef: + kind: HelmRepository + name: rook-ceph + version: 1.5.8 + interval: 1m + timeout: 5m + # Reference values at + # https://github.com/rook/rook/blob/master/cluster/charts/rook-ceph/values.yaml + # You can redefine default values in the section below + values: {} diff --git a/manifests/function/rook-operator/helmrepository.yaml b/manifests/function/rook-operator/helmrepository.yaml new file mode 100644 index 000000000..a25b3f639 --- /dev/null +++ b/manifests/function/rook-operator/helmrepository.yaml @@ -0,0 +1,7 @@ +apiVersion: source.toolkit.fluxcd.io/v1beta1 +kind: HelmRepository +metadata: + name: rook-release +spec: + url: https://charts.rook.io/release + interval: 10m diff --git a/manifests/function/rook-operator/kustomization.yaml b/manifests/function/rook-operator/kustomization.yaml new file mode 100644 index 000000000..abb1607cc --- /dev/null +++ b/manifests/function/rook-operator/kustomization.yaml @@ -0,0 +1,6 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - namespace.yaml + - helmrepository.yaml + - helmrelease.yaml \ No newline at end of file diff --git a/manifests/function/rook-operator/namespace.yaml b/manifests/function/rook-operator/namespace.yaml new file mode 100644 index 000000000..c7b405f92 --- /dev/null +++ b/manifests/function/rook-operator/namespace.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: rook-ceph \ No newline at end of file