Merge branch 'master' of gitlab.com:ananace/charts
This commit is contained in:
commit
dd4e31530a
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 "matrix-media-repo.fullname" . }}
|
name: {{ include "matrix-media-repo.fullname" . }}
|
||||||
|
|
Loading…
Reference in a new issue