Skip to content

Commit

Permalink
autoscaling/v2beta2 is being depricated in kubernetes 1.26, adding su…
Browse files Browse the repository at this point in the history
…pport for autoscaling/v2
  • Loading branch information
jonaskint committed Nov 8, 2023
1 parent 94d8877 commit 3d13a7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chart/templates/hpa.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if .Values.autoscaling.enabled }}
apiVersion: autoscaling/v2beta2
apiVersion: {{ ternary "autoscaling/v2" "autoscaling/v2beta2" (.Capabilities.APIVersions.Has "autoscaling/v2") }}
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "fusionauth.fullname" . }}
Expand Down

0 comments on commit 3d13a7b

Please sign in to comment.