From 63ace8c1f4a3fd8e74d6e4d0247fac3b6d613824 Mon Sep 17 00:00:00 2001 From: thorker <46462404+thorker@users.noreply.github.com> Date: Tue, 23 Apr 2024 12:56:01 +0200 Subject: [PATCH] [bitnami/thanos] added pvc labels to thanos-receive (#24934) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [bitnami/argo-cd] Release 6.0.5 (#24927) * [bitnami/argo-cd] Release 6.0.5 updating components versions Signed-off-by: Bitnami Containers * Update CRDs automatically Signed-off-by: Bitnami Containers --------- Signed-off-by: Bitnami Containers Signed-off-by: Thorsten Kerber * feat: added pvc labels to receiver Signed-off-by: Thorsten Kerber * chore: bumped Chart Signed-off-by: Thorsten Kerber --------- Signed-off-by: Bitnami Containers Signed-off-by: Thorsten Kerber Signed-off-by: thorker <46462404+thorker@users.noreply.github.com> Signed-off-by: David Gomez Co-authored-by: Bitnami Bot Co-authored-by: David Gomez Signed-off-by: Matheus Gonçalves --- bitnami/thanos/Chart.yaml | 2 +- bitnami/thanos/README.md | 1 + bitnami/thanos/templates/receive/statefulset.yaml | 3 +++ bitnami/thanos/values.yaml | 3 +++ 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/bitnami/thanos/Chart.yaml b/bitnami/thanos/Chart.yaml index b61955f32be298..fcd062a3fa864a 100644 --- a/bitnami/thanos/Chart.yaml +++ b/bitnami/thanos/Chart.yaml @@ -35,4 +35,4 @@ maintainers: name: thanos sources: - https://github.com/bitnami/charts/tree/main/bitnami/thanos -version: 15.1.3 +version: 15.2.0 diff --git a/bitnami/thanos/README.md b/bitnami/thanos/README.md index 1c886a950461a4..904cf890d87b34 100644 --- a/bitnami/thanos/README.md +++ b/bitnami/thanos/README.md @@ -1361,6 +1361,7 @@ You can enable this initContainer by setting `volumePermissions.enabled` to `tru | `receive.persistence.storageClass` | Specify the `storageClass` used to provision the volume | `""` | | `receive.persistence.accessModes` | PVC Access Modes for data volume | `["ReadWriteOnce"]` | | `receive.persistence.size` | PVC Storage Request for data volume | `8Gi` | +| `receive.persistence.labels` | Labels for the PVC | `{}` | | `receive.persistence.annotations` | Annotations for the PVC | `{}` | | `receive.persistence.existingClaim` | Name of an existing PVC to use | `""` | | `receive.ingress.enabled` | Set to true to enable ingress record generation | `false` | diff --git a/bitnami/thanos/templates/receive/statefulset.yaml b/bitnami/thanos/templates/receive/statefulset.yaml index 5c999ef864c956..bb629f7a488433 100644 --- a/bitnami/thanos/templates/receive/statefulset.yaml +++ b/bitnami/thanos/templates/receive/statefulset.yaml @@ -309,6 +309,9 @@ spec: {{- if .Values.receive.persistence.annotations }} annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.receive.persistence.annotations "context" $) | nindent 10 }} {{- end }} + {{- if .Values.receive.persistence.labels }} + labels: {{- include "common.tplvalues.render" ( dict "value" .Values.receive.persistence.labels "context" $) | nindent 10 }} + {{- end }} spec: accessModes: {{- range .Values.receive.persistence.accessModes }} diff --git a/bitnami/thanos/values.yaml b/bitnami/thanos/values.yaml index 95bc681a5fece4..e1687ca8034596 100644 --- a/bitnami/thanos/values.yaml +++ b/bitnami/thanos/values.yaml @@ -4332,6 +4332,9 @@ receive: ## @param receive.persistence.size PVC Storage Request for data volume ## size: 8Gi + ## @param receive.persistence.labels Labels for the PVC + ## + labels: {} ## @param receive.persistence.annotations Annotations for the PVC ## annotations: {}