Skip to content

Commit

Permalink
remove usage of v2beta2 of HPA api
Browse files Browse the repository at this point in the history
  • Loading branch information
AnttiRae committed May 15, 2024
1 parent 540bdea commit 02d2dff
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions helm/templates/06-hpa.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 02d2dff

Please sign in to comment.