This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ozone-helm-charts.git
The following commit(s) were added to refs/heads/main by this push:
new 015b128 HDDS-13875. Fix context reference of
persistence.storageClassName in statefulsets (#21)
015b128 is described below
commit 015b128f3d2d89904dd73a2cf5be834ba2e1dfb0
Author: Damiano Ernesti @ Anritsu <[email protected]>
AuthorDate: Tue Nov 4 12:15:35 2025 +0100
HDDS-13875. Fix context reference of persistence.storageClassName in
statefulsets (#21)
---
charts/ozone/templates/datanode/datanode-statefulset.yaml | 2 +-
charts/ozone/templates/om/om-statefulset.yaml | 2 +-
charts/ozone/templates/s3g/s3g-statefulset.yaml | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/charts/ozone/templates/datanode/datanode-statefulset.yaml
b/charts/ozone/templates/datanode/datanode-statefulset.yaml
index 358179a..66d42b6 100644
--- a/charts/ozone/templates/datanode/datanode-statefulset.yaml
+++ b/charts/ozone/templates/datanode/datanode-statefulset.yaml
@@ -117,7 +117,7 @@ spec:
resources:
requests:
storage: {{ .Values.datanode.persistence.size }}
- {{- with .Values.scm.persistence.storageClassName }}
+ {{- with .Values.datanode.persistence.storageClassName }}
storageClassName: {{ . }}
{{- end }}
{{- end }}
diff --git a/charts/ozone/templates/om/om-statefulset.yaml
b/charts/ozone/templates/om/om-statefulset.yaml
index b4ac116..af89cbe 100644
--- a/charts/ozone/templates/om/om-statefulset.yaml
+++ b/charts/ozone/templates/om/om-statefulset.yaml
@@ -123,7 +123,7 @@ spec:
resources:
requests:
storage: {{ .Values.om.persistence.size }}
- {{- with .Values.scm.persistence.storageClassName }}
+ {{- with .Values.om.persistence.storageClassName }}
storageClassName: {{ . }}
{{- end }}
{{- end }}
\ No newline at end of file
diff --git a/charts/ozone/templates/s3g/s3g-statefulset.yaml
b/charts/ozone/templates/s3g/s3g-statefulset.yaml
index a79ab3f..a9a2086 100644
--- a/charts/ozone/templates/s3g/s3g-statefulset.yaml
+++ b/charts/ozone/templates/s3g/s3g-statefulset.yaml
@@ -119,7 +119,7 @@ spec:
resources:
requests:
storage: {{ .Values.s3g.persistence.size }}
- {{- with .Values.scm.persistence.storageClassName }}
+ {{- with .Values.s3g.persistence.storageClassName }}
storageClassName: {{ . }}
{{- end }}
{{- end }}
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]