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.
2 parents 2c77d49 + 5bbeb61 commit 9cb9759Copy full SHA for 9cb9759
helm/aws-load-balancer-controller/templates/pdb.yaml
@@ -1,5 +1,9 @@
1
{{- if and .Values.podDisruptionBudget (gt (int .Values.replicaCount) 1) }}
2
+{{- if .Capabilities.APIVersions.Has "policy/v1" }}
3
+apiVersion: policy/v1
4
+{{- else }}
5
apiVersion: policy/v1beta1
6
+{{- end }}
7
kind: PodDisruptionBudget
8
metadata:
9
name: {{ include "aws-load-balancer-controller.fullname" . }}
0 commit comments