Skip to content

Commit 9cb9759

Browse files
authored
Merge pull request #2192 from Evalle/ISSUE-2136
Bump pdb apiVersion to v1
2 parents 2c77d49 + 5bbeb61 commit 9cb9759

File tree

1 file changed

+4
-0
lines changed
  • helm/aws-load-balancer-controller/templates

1 file changed

+4
-0
lines changed

helm/aws-load-balancer-controller/templates/pdb.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
{{- if and .Values.podDisruptionBudget (gt (int .Values.replicaCount) 1) }}
2+
{{- if .Capabilities.APIVersions.Has "policy/v1" }}
3+
apiVersion: policy/v1
4+
{{- else }}
25
apiVersion: policy/v1beta1
6+
{{- end }}
37
kind: PodDisruptionBudget
48
metadata:
59
name: {{ include "aws-load-balancer-controller.fullname" . }}

0 commit comments

Comments
 (0)