We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dd89cd5 + 68d306c commit 2c3259bCopy full SHA for 2c3259b
charts/flagger/templates/pdb.yaml
@@ -1,5 +1,5 @@
1
{{- if .Values.podDisruptionBudget.enabled }}
2
-{{- if .Capabilities.APIVersions.Has "policy/v1" -}}
+{{- if .Capabilities.APIVersions.Has "policy/v1/PodDisruptionBudget" -}}
3
apiVersion: policy/v1
4
{{- else }}
5
apiVersion: policy/v1beta1
charts/loadtester/templates/pdb.yaml
0 commit comments