fix: Autoscaling/v2beta1 to autoscaling/v2

This commit is contained in:
Magnus Udbjorg
2024-04-24 13:25:22 +02:00
parent f9bf5d28f0
commit 4f55b73858
2 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
{{- if .Values.autoscaling.enabled }} {{- if .Values.autoscaling.enabled }}
apiVersion: autoscaling/v2beta1 apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler kind: HorizontalPodAutoscaler
metadata: metadata:
name: {{ include "databunker-demo.fullname" . }} name: {{ include "databunker-demo.fullname" . }}

View File

@@ -1,5 +1,5 @@
{{- if .Values.autoscaling.enabled }} {{- if .Values.autoscaling.enabled }}
apiVersion: autoscaling/v2beta1 apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler kind: HorizontalPodAutoscaler
metadata: metadata:
name: {{ template "common.names.fullname" . }} name: {{ template "common.names.fullname" . }}
@@ -32,4 +32,4 @@ spec:
name: memory name: memory
targetAverageUtilization: {{ .Values.autoscaling.targetMemory }} targetAverageUtilization: {{ .Values.autoscaling.targetMemory }}
{{- end }} {{- end }}
{{- end }} {{- end }}