This is an automated email from the ASF dual-hosted git repository.
HoustonPutman pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr-operator.git
The following commit(s) were added to refs/heads/main by this push:
new 5215d5d Pass the volumeAttributesClassName attribute in the Solr Helm
chart (#811)
5215d5d is described below
commit 5215d5d5f879216c0524b61611a118b27a9b2137
Author: coolstim <[email protected]>
AuthorDate: Wed Jun 17 01:19:58 2026 +0200
Pass the volumeAttributesClassName attribute in the Solr Helm chart (#811)
---
helm/solr/Chart.yaml | 5 +++++
helm/solr/README.md | 1 +
helm/solr/templates/solrcloud.yaml | 3 +++
helm/solr/values.yaml | 1 +
4 files changed, 10 insertions(+)
diff --git a/helm/solr/Chart.yaml b/helm/solr/Chart.yaml
index 2a59a34..224b3ed 100644
--- a/helm/solr/Chart.yaml
+++ b/helm/solr/Chart.yaml
@@ -48,6 +48,11 @@ annotations:
url: https://github.com/apache/solr-operator/issues/709
- name: Github PR
url: https://github.com/apache/solr-operator/pull/712
+ - kind: added
+ description: volumeAttributesClassName key is now supported when using
PVCs in the Solr Helm chart
+ links:
+ - name: Github PR
+ url: https://github.com/apache/solr-operator/pull/811
artifacthub.io/containsSecurityUpdates: "false"
artifacthub.io/recommendations: |
- url: https://artifacthub.io/packages/helm/apache-solr/solr-operator
diff --git a/helm/solr/README.md b/helm/solr/README.md
index 7c79c72..791c446 100644
--- a/helm/solr/README.md
+++ b/helm/solr/README.md
@@ -128,6 +128,7 @@ See the
[documentation](https://solr.apache.org/guide/operator/latest/solr-cloud
| 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
diff --git a/helm/solr/templates/solrcloud.yaml
b/helm/solr/templates/solrcloud.yaml
index 1bfab1e..3f0dcfa 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 cbdb34f..4b1d162 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: