Merge branch 'autoscaling-v2-support' into 'master'

autoscaler api version based on k8s release

See merge request ananace/charts!54
This commit is contained in:
Alexander Olofsson 2023-09-05 13:04:47 +00:00
commit a5eeee7efa
No known key found for this signature in database

View file

@ -1,5 +1,9 @@
{{- if .Values.autoscaling.enabled }}
{{- if .Capabilities.APIVersions.Has "autoscaling/v2" -}}
apiVersion: autoscaling/v2
{{- else -}}
apiVersion: autoscaling/v2beta1
{{- end }}
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "matrix-media-repo.fullname" . }}