We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c6ae59 commit 4cc622cCopy full SHA for 4cc622c
imgproxy/templates/pod-disruption-budget.yaml
@@ -1,6 +1,10 @@
1
{{- with .Values.resources.podDisruptionBudget -}}
2
{{- if .enabled }}
3
+{{- if .Capabilities.APIVersions.Has "policy/v1" -}}
4
+apiVersion: policy/v1
5
+{{- else}}
6
apiVersion: policy/v1beta1
7
+{{- end }}
8
kind: PodDisruptionBudget
9
metadata:
10
name: {{ template "imgproxy.fullname" $ }}-pdb
0 commit comments