[bitnami/nessie] fix: 🐛 Set correct context in HPA and VPA api helper (#27475)

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

### Description of the change

This commit fixes an issue with the HPA and VPA api helpers, which were missing the proper context.
This commit is contained in:
Javier J. Salmerón-García
2024-06-21 09:34:50 +00:00
committed by GitHub
parent bb1c78c1f8
commit 865e3cd27c
4 changed files with 9 additions and 5 deletions
+6 -2
View File
@@ -1,8 +1,12 @@
# Changelog
## 0.1.8 (2024-06-18)
## 0.1.9 (2024-06-21)
* [bitnami/nessie] Release 0.1.8 ([#27388](https://github.com/bitnami/charts/pull/27388))
* [bitnami/nessie] fix: :bug: Set correct context in HPA and VPA api helper ([#27475](https://github.com/bitnami/charts/pull/27475))
## <small>0.1.8 (2024-06-18)</small>
* [bitnami/nessie] Release 0.1.8 (#27388) ([b3982cc](https://github.com/bitnami/charts/commit/b3982cc0f8cd7ad444e2589c1a9c09564e2bc1c4)), closes [#27388](https://github.com/bitnami/charts/issues/27388)
## <small>0.1.7 (2024-06-17)</small>
+1 -1
View File
@@ -38,4 +38,4 @@ sources:
- https://github.com/bitnami/charts/tree/main/bitnami/nessie
- https://github.com/bitnami/containers/tree/main/bitnami/nessie
- https://github.com/nessie/nessie
version: 0.1.8
version: 0.1.9
+1 -1
View File
@@ -4,7 +4,7 @@ SPDX-License-Identifier: APACHE-2.0
*/}}
{{- if .Values.autoscaling.hpa.enabled }}
apiVersion: {{ include "common.capabilities.hpa.apiVersion" . }}
apiVersion: {{ include "common.capabilities.hpa.apiVersion" (dict "context" $) }}
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "common.names.fullname" . }}
+1 -1
View File
@@ -4,7 +4,7 @@ SPDX-License-Identifier: APACHE-2.0
*/}}
{{- if and (.Capabilities.APIVersions.Has "autoscaling.k8s.io/v1/VerticalPodAutoscaler") .Values.autoscaling.vpa.enabled }}
apiVersion: autoscaling.k8s.io/v1
apiVersion: {{ include "common.capabilities.vpa.apiVersion" . }}
kind: VerticalPodAutoscaler
metadata:
name: {{ include "common.names.fullname" . }}