We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 27487db + 96fdf51 commit 3954447Copy full SHA for 3954447
1 file changed
charts/lightstepsatellite/templates/hpa.yaml
@@ -1,6 +1,10 @@
1
{{- if .Values.autoscaling.enabled -}}
2
3
+{{- if .Capabilities.APIVersions.Has "autoscaling/v2" -}}
4
+apiVersion: autoscaling/v2
5
+{{- else -}}
6
apiVersion: autoscaling/v2beta2
7
+{{- end -}}
8
kind: HorizontalPodAutoscaler
9
metadata:
10
labels:
0 commit comments