mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
[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:
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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" . }}
|
||||
|
||||
@@ -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" . }}
|
||||
|
||||
Reference in New Issue
Block a user