We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27487db commit 96fdf51Copy full SHA for 96fdf51
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