diff --git a/helm/templates/06-hpa.yaml b/helm/templates/06-hpa.yaml index 6e7c0b9..e045296 100644 --- a/helm/templates/06-hpa.yaml +++ b/helm/templates/06-hpa.yaml @@ -1,9 +1,5 @@ {{- if .Values.hpa.enabled -}} -{{- if (.Capabilities.APIVersions.Has "autoscaling/v2") }} apiVersion: autoscaling/v2 -{{- else }} -apiVersion: autoscaling/v2beta2 -{{- end }} kind: HorizontalPodAutoscaler metadata: name: {{ template "appname" . }}-hpa