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:
commit
0f63a8a9a8
1 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
||||||
{{- if .Values.autoscaling.enabled }}
|
{{- if .Values.autoscaling.enabled }}
|
||||||
|
{{- if .Capabilities.APIVersions.Has "autoscaling/v2" }}
|
||||||
|
apiVersion: autoscaling/v2
|
||||||
|
{{- else }}
|
||||||
apiVersion: autoscaling/v2beta1
|
apiVersion: autoscaling/v2beta1
|
||||||
|
{{- end }}
|
||||||
kind: HorizontalPodAutoscaler
|
kind: HorizontalPodAutoscaler
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "element-web.fullname" . }}
|
name: {{ include "element-web.fullname" . }}
|
||||||
|
|
Loading…
Reference in a new issue