From 02d2dff837ce18b78e991bcf047791ebd85f81f8 Mon Sep 17 00:00:00 2001 From: Antti Rae Date: Wed, 15 May 2024 15:14:50 +0300 Subject: [PATCH] remove usage of v2beta2 of HPA api --- helm/templates/06-hpa.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/helm/templates/06-hpa.yaml b/helm/templates/06-hpa.yaml index 6e7c0b9..e045296 100644 --- a/helm/templates/06-hpa.yaml +++ b/helm/templates/06-hpa.yaml @@ -1,9 +1,5 @@ {{- if .Values.hpa.enabled -}} -{{- if (.Capabilities.APIVersions.Has "autoscaling/v2") }} apiVersion: autoscaling/v2 -{{- else }} -apiVersion: autoscaling/v2beta2 -{{- end }} kind: HorizontalPodAutoscaler metadata: name: {{ template "appname" . }}-hpa