diff --git a/cluster/core/storage/openebs/helm-release.yaml b/cluster/core/storage/openebs/helm-release.yaml index 789c675a..be052d5a 100644 --- a/cluster/core/storage/openebs/helm-release.yaml +++ b/cluster/core/storage/openebs/helm-release.yaml @@ -2,7 +2,7 @@ apiVersion: helm.toolkit.fluxcd.io/v2beta2 kind: HelmRelease metadata: name: openebs - namespace: openebs + namespace: openebs-system spec: interval: 5m chart: diff --git a/cluster/core/storage/openebs/helm-repository.yaml b/cluster/core/storage/openebs/helm-repository.yaml index f1d031c4..3776f252 100644 --- a/cluster/core/storage/openebs/helm-repository.yaml +++ b/cluster/core/storage/openebs/helm-repository.yaml @@ -6,3 +6,12 @@ metadata: spec: interval: 1m url: https://openebs.github.io/charts +--- +apiVersion: source.toolkit.fluxcd.io/v1beta2 +kind: HelmRepository +metadata: + name: openebs-monitoring-charts + namespace: flux-system +spec: + interval: 1m + url: https://openebs.github.io/monitoring \ No newline at end of file diff --git a/cluster/core/storage/openebs/kustomization.yaml b/cluster/core/storage/openebs/kustomization.yaml index 9e20722a..dec9b5fa 100644 --- a/cluster/core/storage/openebs/kustomization.yaml +++ b/cluster/core/storage/openebs/kustomization.yaml @@ -3,4 +3,5 @@ kind: Kustomization resources: - ./namespace.yaml - ./helm-repository.yaml -- ./helm-release.yaml \ No newline at end of file +- ./helm-release.yaml +- ./monitoring-helm-release.yaml \ No newline at end of file diff --git a/cluster/core/storage/openebs/monitoring-helm-release.yaml b/cluster/core/storage/openebs/monitoring-helm-release.yaml new file mode 100644 index 00000000..95b5e760 --- /dev/null +++ b/cluster/core/storage/openebs/monitoring-helm-release.yaml @@ -0,0 +1,39 @@ +apiVersion: helm.toolkit.fluxcd.io/v2beta2 +kind: HelmRelease +metadata: + name: openebs-monitoring + namespace: openebs-system +spec: + interval: 5m + chart: + spec: + chart: openebs-monitoring + version: 0.4.13 + sourceRef: + kind: HelmRepository + name: openebs-monitoring-charts + namespace: flux-system + + values: + kube-prometheus-stack: + install: false + + openebsMonitoringAddon: + # this is the only provisioner enabled + localPV: + enabled: true + + cStore: + enabled: false + jiva: + enabled: false + ndm: + enabled: false + npd: + enabled: false + deviceLocalPV: + enabled: false + lvmLocalPV: + enabled: false + zfsLocalPV: + enabled: false \ No newline at end of file