set apiVersion to v2

This commit is contained in:
felix 2023-09-07 10:39:10 +00:00
parent 7f7f7183fb
commit 3c4b1cf344
No known key found for this signature in database

View file

@ -1,5 +1,5 @@
{{- if .Values.autoscaling.enabled }} {{- if .Values.autoscaling.enabled }}
apiVersion: {{ ternary "autoscaling/v2" "autoscaling/v2beta2" (.Capabilities.APIVersions.Has "autoscaling/v2") }} apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler kind: HorizontalPodAutoscaler
metadata: metadata:
name: {{ include "matrix-media-repo.fullname" . }} name: {{ include "matrix-media-repo.fullname" . }}