diff --git a/docs/sources/setup/install/helm/reference.md b/docs/sources/setup/install/helm/reference.md index e0f2fe9dc3829..515a9ecbd6d73 100644 --- a/docs/sources/setup/install/helm/reference.md +++ b/docs/sources/setup/install/helm/reference.md @@ -2023,6 +2023,7 @@ true
 {
   "enabled": false,
+  "labels": {},
   "mountPath": "/data",
   "storageClass": null,
   "storageSize": "10G"
@@ -2037,6 +2038,15 @@ true
 			
 false
 
+ + + + chunksCache.persistence.labels + object + PVC additional labels +
+{}
+
@@ -9780,6 +9790,7 @@ true
 {
   "enabled": false,
+  "labels": {},
   "mountPath": "/data",
   "storageClass": null,
   "storageSize": "10G"
@@ -9794,6 +9805,15 @@ true
 			
 false
 
+ + + + resultsCache.persistence.labels + object + PVC additional labels +
+{}
+
diff --git a/production/helm/loki/CHANGELOG.md b/production/helm/loki/CHANGELOG.md index 15dec2f255e80..48e0a2778317c 100644 --- a/production/helm/loki/CHANGELOG.md +++ b/production/helm/loki/CHANGELOG.md @@ -12,6 +12,7 @@ Entries should be ordered as follows: Entries should include a reference to the pull request that introduced the change. [//]: # ( : do not remove this line. This locator is used by the CI pipeline to automatically create a changelog entry for each new Loki release. Add other chart versions and respective changelog entries bellow this line.) +- [ENHANCEMENT] Allow specifying additional labels for memcached statefulsets volume claim templates ## 6.24.0 diff --git a/production/helm/loki/templates/memcached/_memcached-statefulset.tpl b/production/helm/loki/templates/memcached/_memcached-statefulset.tpl index cb798e508f35b..f886b668367f1 100644 --- a/production/helm/loki/templates/memcached/_memcached-statefulset.tpl +++ b/production/helm/loki/templates/memcached/_memcached-statefulset.tpl @@ -165,6 +165,8 @@ spec: kind: PersistentVolumeClaim metadata: name: data + labels: + {{- toYaml .persistence.labels | nindent 10 }} spec: accessModes: [ "ReadWriteOnce" ] {{- with .persistence.storageClass }} diff --git a/production/helm/loki/values.yaml b/production/helm/loki/values.yaml index 2af9e32015888..bd0fd9fc3acbf 100644 --- a/production/helm/loki/values.yaml +++ b/production/helm/loki/values.yaml @@ -3162,6 +3162,8 @@ resultsCache: storageClass: null # -- Volume mount path mountPath: /data + # -- PVC additional labels + labels: {} chunksCache: # -- Specifies whether memcached based chunks-cache should be enabled enabled: true @@ -3264,6 +3266,8 @@ chunksCache: storageClass: null # -- Volume mount path mountPath: /data + # -- PVC additional labels + labels: {} ###################################################################################################################### # # Subchart configurations