We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 419a289 + c112eda commit 7d16b3cCopy full SHA for 7d16b3c
templates/poddisruptionbudget.yaml
@@ -1,5 +1,9 @@
1
{{- if .Values.podDisruptionBudget -}}
2
+{{- if .Capabilities.APIVersions.Has "policy/v1" -}}
3
apiVersion: policy/v1
4
+{{- else}}
5
+apiVersion: policy/v1beta1
6
+{{- end }}
7
kind: PodDisruptionBudget
8
metadata:
9
name: {{ template "docker-registry.fullname" . }}
0 commit comments