From 753ee4ac69eb5638ea3e85e2f63c1fa097b0f467 Mon Sep 17 00:00:00 2001 From: Tim Cools Date: Mon, 12 Jan 2026 11:05:08 +0100 Subject: [PATCH 1/2] Pass the volumeAttributesClassName attribute --- helm/solr/templates/solrcloud.yaml | 3 +++ helm/solr/values.yaml | 1 + 2 files changed, 4 insertions(+) diff --git a/helm/solr/templates/solrcloud.yaml b/helm/solr/templates/solrcloud.yaml index 1bfab1e8..3f0dcfa1 100644 --- a/helm/solr/templates/solrcloud.yaml +++ b/helm/solr/templates/solrcloud.yaml @@ -146,6 +146,9 @@ spec: {{- if .Values.dataStorage.persistent.pvc.storageClassName }} storageClassName: {{ .Values.dataStorage.persistent.pvc.storageClassName | quote }} {{- end }} + {{- if .Values.dataStorage.persistent.pvc.volumeAttributesClassName }} + volumeAttributesClassName: {{ .Values.dataStorage.persistent.pvc.volumeAttributesClassName | quote }} + {{- end }} {{- end }} {{- else }} ephemeral: diff --git a/helm/solr/values.yaml b/helm/solr/values.yaml index e6addba7..109635f2 100644 --- a/helm/solr/values.yaml +++ b/helm/solr/values.yaml @@ -135,6 +135,7 @@ dataStorage: labels: {} annotations: {} storageClassName: "" + volumeAttributesClassName: "" # How to control availability for Solr Nodes availability: From 6e603a85a1d03ffef85332ac56cc49822df9df8c Mon Sep 17 00:00:00 2001 From: Tim Cools Date: Tue, 12 May 2026 08:18:25 +0200 Subject: [PATCH 2/2] add documentation --- helm/solr/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/helm/solr/README.md b/helm/solr/README.md index a2c29c93..d1f73428 100644 --- a/helm/solr/README.md +++ b/helm/solr/README.md @@ -128,6 +128,7 @@ See the [documentation](https://apache.github.io/solr-operator/docs/solr-cloud/s | dataStorage.persistent.pvc.annotations | map[string]string | | Set the annotations for your Solr data PVCs | | dataStorage.persistent.pvc.labels | map[string]string | | Set the labels for your Solr data PVCs | | dataStorage.persistent.pvc.storageClassName | string | | Override the default storageClass for your Solr data PVCs | +| dataStorage.persistent.pvc.volumeAttributesClassName | string | | Specifies `VolumeAttributeClass` name for dynamically configuring storage attributes. More information can be found in the [Kubernetes docs](https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/). | ### Addressability Options