Skip to content

Commit

Permalink
Merge pull request #1196 from fidelity/Update-poddisruptionbudget-api…
Browse files Browse the repository at this point in the history
…-version

Upgrade PodDisruptionBudget api version for kubernetes 1.21+
  • Loading branch information
k8s-ci-robot authored Apr 8, 2022
2 parents 66bfa34 + 8138490 commit 6d1e283
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{{- if .Capabilities.APIVersions.Has "policy/v1/PodDisruptionBudget" }}
apiVersion: policy/v1
{{- else }}
apiVersion: policy/v1beta1
{{- end }}
kind: PodDisruptionBudget
metadata:
name: ebs-csi-controller
Expand Down

0 comments on commit 6d1e283

Please sign in to comment.