[bitnami/clickhouse] Fix clickhouse VPA apiVersion and template (#36442)

* fix: correct context reference for custom labels in VerticalPodAutoscaler metadata

Fixes #36439

fix: update apiVersion for Vertical Pod Autoscaler to use autoscaling.k8s.io/v1

Fixes #36303

chore: bump ClickHouse chart version to 9.4.6
chore: bump version to 2.31.8 in Chart.yaml

Signed-off-by: Per Osbäck <per@osbeck.com>

* Apply suggestion from @jotamartos

Signed-off-by: Juan José Martos <jota.martos@broadcom.com>

* Remove old VPA apiVersion reference

Removed outdated Vertical Pod Autoscaler apiVersion handling.

Signed-off-by: Juan José Martos <jota.martos@broadcom.com>

---------

Signed-off-by: Per Osbäck <per@osbeck.com>
Signed-off-by: Juan José Martos <jota.martos@broadcom.com>
Co-authored-by: Juan José Martos <jota.martos@broadcom.com>
This commit is contained in:
Per Osbäck
2026-02-09 12:49:21 +01:00
committed by GitHub
parent d3910f2f6a
commit 69f5d02d1d
4 changed files with 4 additions and 9 deletions

View File

@@ -33,4 +33,4 @@ maintainers:
name: clickhouse
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/clickhouse
version: 9.4.5
version: 9.4.6

View File

@@ -11,7 +11,7 @@ kind: VerticalPodAutoscaler
metadata:
name: {{ printf "%s-shard%d" (include "common.names.fullname" $ ) $i }}
namespace: {{ include "common.names.namespace" $ | quote }}
labels: {{- include "common.labels.standard" (dict "customLabels" .Values.commonLabels "context" .) | nindent 4 }}
labels: {{- include "common.labels.standard" (dict "customLabels" $.Values.commonLabels "context" $) | nindent 4 }}
app.kubernetes.io/component: clickhouse
app.kubernetes.io/part-of: clickhouse
{{- if or $.Values.autoscaling.vpa.annotations $.Values.commonAnnotations }}