Skip to content

Commit

Permalink
[bsc] fix pdb zero values handling
Browse files Browse the repository at this point in the history
  • Loading branch information
voron committed Nov 9, 2023
1 parent bd291da commit 45e7e58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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.31"
version: "0.6.32"
appVersion: "v1.2.4"

keywords:
Expand Down
4 changes: 2 additions & 2 deletions dysnix/bsc/templates/pdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ metadata:
{{- include "bsc.labels" . | nindent 4 }}
spec:
{{- with .Values.podDisruptionBudget }}
{{- if .minAvailable }}
{{- if hasKey . "minAvailable" }}
minAvailable: {{ .minAvailable }}
{{- else if .maxUnavailable }}
{{- else if hasKey . "maxUnavailable" }}
maxUnavailable: {{ .maxUnavailable }}
{{- end }}
{{- if .unhealthyPodEvictionPolicy }}
Expand Down

0 comments on commit 45e7e58

Please sign in to comment.