We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3954447 + 0a31c34 commit 2e601d8Copy full SHA for 2e601d8
1 file changed
charts/lightstepsatellite/templates/pdb.yaml
@@ -1,5 +1,8 @@
1
-# policy/v1beta1 support ends in 1.25, but only starts in 1.21.
+{{- if .Capabilities.APIVersions.Has "policy/v1" }}
2
+apiVersion: policy/v1
3
+{{- else }}
4
apiVersion: policy/v1beta1
5
+{{- end }}
6
kind: PodDisruptionBudget
7
metadata:
8
name: {{ include "lightstep.fullname" . }}-pdb
0 commit comments