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 }}