Merge branch 'element-web-autoscalingv2' into 'master'

element-web: use autoscaling/v2 when possible

See merge request ananace/charts!45
This commit is contained in:
Alexander Olofsson 2023-04-02 14:56:18 +00:00
commit 0f63a8a9a8

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 "element-web.fullname" . }}