We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 481d9c3 + 36a2088 commit d29c60dCopy full SHA for d29c60d
2 files changed
charts/flagger/templates/pdb.yaml
@@ -1,9 +1,5 @@
1
{{- if .Values.podDisruptionBudget.enabled }}
2
-{{- if .Capabilities.APIVersions.Has "policy/v1/PodDisruptionBudget" -}}
3
apiVersion: policy/v1
4
-{{- else }}
5
-apiVersion: policy/v1beta1
6
-{{- end }}
7
kind: PodDisruptionBudget
8
metadata:
9
name: {{ template "flagger.name" . }}
charts/loadtester/templates/pdb.yaml
name: {{ include "loadtester.fullname" . }}
0 commit comments