Skip to content

Commit

Permalink
[bsc] fix podDisruptionBudget default values
Browse files Browse the repository at this point in the history
  • Loading branch information
voron committed Nov 9, 2023
1 parent 528330a commit 4a54094
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dysnix/bsc/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: bsc
description: Binance Smart Chain chart for Kubernetes
version: "0.6.30"
version: "0.6.31"
appVersion: "v1.2.4"

keywords:
Expand Down
6 changes: 4 additions & 2 deletions dysnix/bsc/templates/pdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ spec:
{{- with .Values.podDisruptionBudget }}
{{- if .minAvailable }}
minAvailable: {{ .minAvailable }}
{{- end }}
{{- if .maxUnavailable }}
{{- else if .maxUnavailable }}
maxUnavailable: {{ .maxUnavailable }}
{{- end }}
{{- if .unhealthyPodEvictionPolicy }}
unhealthyPodEvictionPolicy: {{ .unhealthyPodEvictionPolicy }}
{{- end }}
{{- end }}
selector:
matchLabels:
Expand Down
3 changes: 2 additions & 1 deletion dysnix/bsc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -547,5 +547,6 @@ affinity:

podDisruptionBudget:
enabled: false
minAvailable: 1
# minAvailable: 1
# maxUnavailable: 1
# unhealthyPodEvictionPolicy: AlwaysAllow

0 comments on commit 4a54094

Please sign in to comment.