Skip to content

Commit

Permalink
Add toggle for PodDisruptionBudget in chart
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSirenko committed Aug 12, 2024
1 parent 18d2c19 commit b63e92f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.controller.podDisruptionBudget -}}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
Expand All @@ -15,3 +16,4 @@ spec:
{{- else }}
minAvailable: 2
{{- end }}
{{- end -}}
2 changes: 2 additions & 0 deletions charts/aws-ebs-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ controller:
deploymentAnnotations: {}
podAnnotations: {}
podLabels: {}
# Warning: Disabling PodDisruptionBudget may lead to stateful workloads not starting due to lack of controller pods
podDisruptionBudget: true
priorityClassName: system-cluster-critical
# AWS region to use. If not specified then the region will be looked up via the AWS EC2 metadata
# service.
Expand Down

0 comments on commit b63e92f

Please sign in to comment.