Skip to content

Commit

Permalink
Merge pull request kubernetes-sigs#2192 from Evalle/ISSUE-2136
Browse files Browse the repository at this point in the history
Bump pdb apiVersion to v1
  • Loading branch information
k8s-ci-robot authored Oct 5, 2021
2 parents 2c77d49 + 5bbeb61 commit 9cb9759
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helm/aws-load-balancer-controller/templates/pdb.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{{- if and .Values.podDisruptionBudget (gt (int .Values.replicaCount) 1) }}
{{- if .Capabilities.APIVersions.Has "policy/v1" }}
apiVersion: policy/v1
{{- else }}
apiVersion: policy/v1beta1
{{- end }}
kind: PodDisruptionBudget
metadata:
name: {{ include "aws-load-balancer-controller.fullname" . }}
Expand Down

0 comments on commit 9cb9759

Please sign in to comment.