From 4f55b738585bceca450feadbc4c678c5ad028ec3 Mon Sep 17 00:00:00 2001 From: Magnus Udbjorg Date: Wed, 24 Apr 2024 13:25:22 +0200 Subject: [PATCH] fix: Autoscaling/v2beta1 to autoscaling/v2 --- charts/databunker-demo/templates/hpa.yaml | 2 +- charts/databunker/templates/hpa.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/databunker-demo/templates/hpa.yaml b/charts/databunker-demo/templates/hpa.yaml index 8b00548..4844bc3 100644 --- a/charts/databunker-demo/templates/hpa.yaml +++ b/charts/databunker-demo/templates/hpa.yaml @@ -1,5 +1,5 @@ {{- if .Values.autoscaling.enabled }} -apiVersion: autoscaling/v2beta1 +apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: {{ include "databunker-demo.fullname" . }} diff --git a/charts/databunker/templates/hpa.yaml b/charts/databunker/templates/hpa.yaml index 490ce9a..6833e2a 100644 --- a/charts/databunker/templates/hpa.yaml +++ b/charts/databunker/templates/hpa.yaml @@ -1,5 +1,5 @@ {{- if .Values.autoscaling.enabled }} -apiVersion: autoscaling/v2beta1 +apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: {{ template "common.names.fullname" . }} @@ -32,4 +32,4 @@ spec: name: memory targetAverageUtilization: {{ .Values.autoscaling.targetMemory }} {{- end }} -{{- end }} \ No newline at end of file +{{- end }}