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.
1 parent d74c33a commit 38acafcCopy full SHA for 38acafc
templates/poddisruptionbudget.yaml
@@ -1,5 +1,9 @@
1
{{- if .Values.podDisruptionBudget -}}
2
+{{- if .Capabilities.APIVersions.Has "policy/v1beta1" -}}
3
+apiVersion: policy/v1beta1
4
+{{- else}}
5
apiVersion: policy/v1
6
+{{- end }}
7
kind: PodDisruptionBudget
8
metadata:
9
name: {{ template "docker-registry.fullname" . }}
0 commit comments