Skip to content

Commit

Permalink
Merge branch 'remove-deprecated-api-usage' into 'v3'
Browse files Browse the repository at this point in the history
remove usage of v2beta2 of HPA api

See merge request anders/ci-configuration!379
  • Loading branch information
AnttiRae committed May 16, 2024
2 parents 540bdea + 02d2dff commit 78009ab
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 78009ab

Please sign in to comment.