From 50897aba1b542b42059553e7e4e9812fe88c7f33 Mon Sep 17 00:00:00 2001 From: "Seyed M. Afzouni" Date: Mon, 1 Jul 2024 14:05:20 +0330 Subject: [PATCH 1/2] fix: rename storageClass to storageClassName based in docs and comments --- charts/opensearch/ci/ci-ingress-class-name-values.yaml | 4 ++-- charts/opensearch/ci/ci-rbac-enabled-values.yaml | 4 ++-- charts/opensearch/ci/ci-values.yaml | 4 ++-- charts/opensearch/templates/statefulset.yaml | 6 +++--- charts/opensearch/values.yaml | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/charts/opensearch/ci/ci-ingress-class-name-values.yaml b/charts/opensearch/ci/ci-ingress-class-name-values.yaml index c02e2756..6d696075 100644 --- a/charts/opensearch/ci/ci-ingress-class-name-values.yaml +++ b/charts/opensearch/ci/ci-ingress-class-name-values.yaml @@ -195,13 +195,13 @@ persistence: # Add default labels for the volumeClaimTemplate of the StatefulSet enabled: false # OpenSearch Persistent Volume Storage Class - # If defined, storageClassName: + # If defined, storageClassName: # If set to "-", storageClassName: "", which disables dynamic provisioning # If undefined (the default) or set to null, no storageClassName spec is # set, choosing the default provisioner. (gp2 on AWS, standard on # GKE, AWS & OpenStack) # - # storageClass: "-" + # storageClassName: "-" accessModes: - ReadWriteOnce size: 8Gi diff --git a/charts/opensearch/ci/ci-rbac-enabled-values.yaml b/charts/opensearch/ci/ci-rbac-enabled-values.yaml index b2463d55..a2f0bde5 100755 --- a/charts/opensearch/ci/ci-rbac-enabled-values.yaml +++ b/charts/opensearch/ci/ci-rbac-enabled-values.yaml @@ -195,13 +195,13 @@ persistence: # Add default labels for the volumeClaimTemplate of the StatefulSet enabled: false # OpenSearch Persistent Volume Storage Class - # If defined, storageClassName: + # If defined, storageClassName: # If set to "-", storageClassName: "", which disables dynamic provisioning # If undefined (the default) or set to null, no storageClassName spec is # set, choosing the default provisioner. (gp2 on AWS, standard on # GKE, AWS & OpenStack) # - # storageClass: "-" + # storageClassName: "-" accessModes: - ReadWriteOnce size: 8Gi diff --git a/charts/opensearch/ci/ci-values.yaml b/charts/opensearch/ci/ci-values.yaml index fbd24cc8..d7b047cc 100755 --- a/charts/opensearch/ci/ci-values.yaml +++ b/charts/opensearch/ci/ci-values.yaml @@ -196,13 +196,13 @@ persistence: # Add default labels for the volumeClaimTemplate of the StatefulSet enabled: false # OpenSearch Persistent Volume Storage Class - # If defined, storageClassName: + # If defined, storageClassName: # If set to "-", storageClassName: "", which disables dynamic provisioning # If undefined (the default) or set to null, no storageClassName spec is # set, choosing the default provisioner. (gp2 on AWS, standard on # GKE, AWS & OpenStack) # - # storageClass: "-" + # storageClassName: "-" accessModes: - ReadWriteOnce size: 8Gi diff --git a/charts/opensearch/templates/statefulset.yaml b/charts/opensearch/templates/statefulset.yaml index 72e14976..71a012f8 100644 --- a/charts/opensearch/templates/statefulset.yaml +++ b/charts/opensearch/templates/statefulset.yaml @@ -43,11 +43,11 @@ spec: resources: requests: storage: {{ .Values.persistence.size | quote }} - {{- if .Values.persistence.storageClass }} - {{- if (eq "-" .Values.persistence.storageClass) }} + {{- if .Values.persistence.storageClassName }} + {{- if (eq "-" .Values.persistence.storageClassName) }} storageClassName: "" {{- else }} - storageClassName: "{{ .Values.persistence.storageClass }}" + storageClassName: "{{ .Values.persistence.storageClassName }}" {{- end }} {{- end }} {{- end }} diff --git a/charts/opensearch/values.yaml b/charts/opensearch/values.yaml index 33737661..4ee53043 100644 --- a/charts/opensearch/values.yaml +++ b/charts/opensearch/values.yaml @@ -206,13 +206,13 @@ persistence: # Add default labels for the volumeClaimTemplate of the StatefulSet enabled: false # OpenSearch Persistent Volume Storage Class - # If defined, storageClassName: + # If defined, storageClassName: # If set to "-", storageClassName: "", which disables dynamic provisioning # If undefined (the default) or set to null, no storageClassName spec is # set, choosing the default provisioner. (gp2 on AWS, standard on # GKE, AWS & OpenStack) # - # storageClass: "-" + # storageClassName: "-" accessModes: - ReadWriteOnce size: 8Gi From c09000fd5cddfbd62bf3eb8c17f1b345af05237f Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Wed, 18 Sep 2024 14:54:40 -0400 Subject: [PATCH 2/2] Update version changelog Signed-off-by: Peter Zhu --- charts/opensearch/CHANGELOG.md | 12 +++++++++++- charts/opensearch/Chart.yaml | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/charts/opensearch/CHANGELOG.md b/charts/opensearch/CHANGELOG.md index 1461f65a..42754346 100644 --- a/charts/opensearch/CHANGELOG.md +++ b/charts/opensearch/CHANGELOG.md @@ -14,6 +14,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed ### Security --- +## [2.25.1] +### Added +### Changed +### Deprecated +### Removed +### Fixed +- Fix: rename storageClass to storageClassName based in docs and comments +### Security +--- ## [2.25.0] ### Added - Updated OpenSearch Dashboards appVersion to 2.17.0 @@ -494,7 +503,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed ### Security -[Unreleased]: https://github.com/opensearch-project/helm-charts/compare/opensearch-2.25.0...HEAD +[Unreleased]: https://github.com/opensearch-project/helm-charts/compare/opensearch-2.25.1...HEAD +[2.25.1]: https://github.com/opensearch-project/helm-charts/compare/opensearch-2.25.0...opensearch-2.25.1 [2.25.0]: https://github.com/opensearch-project/helm-charts/compare/opensearch-2.24.1...opensearch-2.25.0 [2.24.1]: https://github.com/opensearch-project/helm-charts/compare/opensearch-2.24.0...opensearch-2.24.1 [2.24.0]: https://github.com/opensearch-project/helm-charts/compare/opensearch-2.23.1...opensearch-2.24.0 diff --git a/charts/opensearch/Chart.yaml b/charts/opensearch/Chart.yaml index c93e1758..738b5151 100644 --- a/charts/opensearch/Chart.yaml +++ b/charts/opensearch/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: 2.25.0 +version: 2.25.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