Skip to content

Commit

Permalink
Merge pull request #1707 from iNoahNothing/master
Browse files Browse the repository at this point in the history
chore: default to policy/v1
  • Loading branch information
k8s-ci-robot authored Aug 9, 2023
2 parents ccdd2cd + f086313 commit 122ab67
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{- if .Capabilities.APIVersions.Has "policy/v1/PodDisruptionBudget" }}
apiVersion: policy/v1
{{- else }}
{{- if not (.Capabilities.APIVersions.Has "policy/v1") }}
apiVersion: policy/v1beta1
{{- else }}
apiVersion: policy/v1
{{- end }}
kind: PodDisruptionBudget
metadata:
Expand Down

0 comments on commit 122ab67

Please sign in to comment.