[bitnami/cloudnative-pg] chore: ♻️ ⬆️ Update common and remove k8s < 1.23 references (#33347)

This commit is contained in:
Javier J. Salmerón García
2025-05-06 17:40:53 +02:00
committed by GitHub
parent cd58f6afa5
commit 3894afd882
4 changed files with 10 additions and 14 deletions

View File

@@ -1,8 +1,12 @@
# Changelog # Changelog
## 0.1.9 (2025-05-01) ## 0.1.10 (2025-05-06)
* [bitnami/cloudnative-pg] Release 0.1.9 ([#33288](https://github.com/bitnami/charts/pull/33288)) * [bitnami/cloudnative-pg] chore: :recycle: :arrow_up: Update common and remove k8s < 1.23 references ([#33347](https://github.com/bitnami/charts/pull/33347))
## <small>0.1.9 (2025-05-01)</small>
* [bitnami/cloudnative-pg] Release 0.1.9 (#33288) ([3f91ddd](https://github.com/bitnami/charts/commit/3f91ddd256a23a12350fe8a8eea7a91dc026bc2a)), closes [#33288](https://github.com/bitnami/charts/issues/33288)
## <small>0.1.8 (2025-04-30)</small> ## <small>0.1.8 (2025-04-30)</small>

View File

@@ -1,6 +1,6 @@
dependencies: dependencies:
- name: common - name: common
repository: oci://registry-1.docker.io/bitnamicharts repository: oci://registry-1.docker.io/bitnamicharts
version: 2.30.2 version: 2.31.0
digest: sha256:85748f67a5f7d7b1d8e36608bb0aae580ed522f65e17def2ccc88a5285992445 digest: sha256:c4c9af4e0ca23cf2c549e403b2a2bba2c53a3557cee23da09fa4cdf710044c2c
generated: "2025-05-01T20:09:47.96644202Z" generated: "2025-05-06T09:59:45.876114368+02:00"

View File

@@ -31,4 +31,4 @@ maintainers:
name: cloudnative-pg name: cloudnative-pg
sources: sources:
- https://github.com/bitnami/charts/tree/main/bitnami/cloudnative-pg - https://github.com/bitnami/charts/tree/main/bitnami/cloudnative-pg
version: 0.1.9 version: 0.1.10

View File

@@ -25,24 +25,16 @@ spec:
- type: Resource - type: Resource
resource: resource:
name: cpu name: cpu
{{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }}
targetAverageUtilization: {{ .Values.autoscaling.hpa.targetCPU }}
{{- else }}
target: target:
type: Utilization type: Utilization
averageUtilization: {{ .Values.autoscaling.hpa.targetCPU }} averageUtilization: {{ .Values.autoscaling.hpa.targetCPU }}
{{- end }} {{- end }}
{{- end }}
{{- if .Values.autoscaling.hpa.targetMemory }} {{- if .Values.autoscaling.hpa.targetMemory }}
- type: Resource - type: Resource
resource: resource:
name: memory name: memory
{{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }}
targetAverageUtilization: {{ .Values.autoscaling.hpa.targetMemory }}
{{- else }}
target: target:
type: Utilization type: Utilization
averageUtilization: {{ .Values.autoscaling.hpa.targetMemory }} averageUtilization: {{ .Values.autoscaling.hpa.targetMemory }}
{{- end }} {{- end }}
{{- end }}
{{- end }} {{- end }}