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 13, 2024
1 parent 3565ca0 commit f72f915
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if not .Values.nodeComponentOnly -}}
{{- if and .Values.controller.podDisruptionBudget.enabled (not .Values.nodeComponentOnly) -}}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
Expand All @@ -16,4 +16,4 @@ spec:
{{- else }}
minAvailable: 2
{{- end }}
{{- end }}
{{- end -}}
3 changes: 3 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,9 @@ controller:
deploymentAnnotations: {}
podAnnotations: {}
podLabels: {}
podDisruptionBudget:
# Warning: Disabling PodDisruptionBudget may lead to stateful workloads not starting due to lack of controller pods
enabled: 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 f72f915

Please sign in to comment.