diff --git a/helm/solr/Chart.yaml b/helm/solr/Chart.yaml index 2a59a340..224b3edf 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 7c79c722..791c446a 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 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 cbdb34fa..4b1d1629 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: