From 33ac8accf081b31a636cefd39f5c7591dec123a7 Mon Sep 17 00:00:00 2001 From: Martin Jackson Date: Thu, 2 Oct 2025 15:46:24 -0500 Subject: [PATCH 1/2] Add enable mirroring --- Chart.yaml | 2 +- README.md | 3 ++- templates/odf-storagecluster.yaml | 4 ++++ values.yaml | 1 + 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Chart.yaml b/Chart.yaml index d824bb1..afd168c 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.2.0 +version: 0.2.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/README.md b/README.md index 49f674b..f2ecead 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # openshift-data-foundations -![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.16.0](https://img.shields.io/badge/AppVersion-1.16.0-informational?style=flat-square) +![Version: 0.2.1](https://img.shields.io/badge/Version-0.2.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.16.0](https://img.shields.io/badge/AppVersion-1.16.0-informational?style=flat-square) A Helm chart to install ODF on Openshift @@ -32,6 +32,7 @@ default failure domain for objectStorage. | objectStorage.resources.limits.memory | string | `"6Gi"` | | | objectStorage.resources.requests.cpu | string | `"1"` | | | objectStorage.resources.requests.memory | string | `"4Gi"` | | +| odf.enable_mirroring | bool | `false` | | | odf.externalUrl | string | `"https://s3-rgw-openshift-storage"` | | | odf.mds.requests.cpu | int | `3` | | | odf.mds.requests.memory | string | `"8Gi"` | | diff --git a/templates/odf-storagecluster.yaml b/templates/odf-storagecluster.yaml index 8a4bb4e..5aec5cb 100644 --- a/templates/odf-storagecluster.yaml +++ b/templates/odf-storagecluster.yaml @@ -4,6 +4,10 @@ metadata: namespace: {{ .Values.odf.namespace }} name: ocs-storagecluster spec: +{{- if .Values.odf.enable_mirroring }} + mirroring: + enabled: true +{{- end }} resources: mon: requests: diff --git a/values.yaml b/values.yaml index 1b89366..7e0e2f0 100644 --- a/values.yaml +++ b/values.yaml @@ -6,6 +6,7 @@ odf: namespace: openshift-storage serviceUrl: "http://rook-ceph-rgw-ocs-storagecluster-cephobjectstore.openshift-storage.svc.cluster.local" externalUrl: "https://s3-rgw-openshift-storage" + enable_mirroring: false mon: requests: cpu: 1 From cacb2359a1fb953251229b0338aca075ac08cb35 Mon Sep 17 00:00:00 2001 From: Martin Jackson Date: Thu, 2 Oct 2025 15:52:04 -0500 Subject: [PATCH 2/2] Add relnote --- README.md | 4 ++++ README.md.gotmpl | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/README.md b/README.md index f2ecead..d92cdc3 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,10 @@ A Helm chart to install ODF on Openshift +### Notable changes + +* v0.2.1: Introduce boolean to configure where mirroring is enabled. Needed for RamenDR. Defaults to false + **Homepage:** ## Maintainers diff --git a/README.md.gotmpl b/README.md.gotmpl index b2f1b9f..c26f890 100644 --- a/README.md.gotmpl +++ b/README.md.gotmpl @@ -5,6 +5,10 @@ {{ template "chart.description" . }} +### Notable changes + +* v0.2.1: Introduce boolean to configure where mirroring is enabled. Needed for RamenDR. Defaults to false + {{ template "chart.homepageLine" . }} {{ template "chart.maintainersSection" . }}