Skip to content

Commit

Permalink
[bsc] add topologySpreadConstraints
Browse files Browse the repository at this point in the history
  • Loading branch information
voron committed Dec 10, 2023
1 parent d2d1206 commit c6be5b6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
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.33
version: 0.6.34
appVersion: 1.2.15

keywords:
Expand Down
4 changes: 4 additions & 0 deletions dysnix/bsc/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
Expand Down
1 change: 1 addition & 0 deletions dysnix/bsc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,7 @@ affinity:
app.kubernetes.io/name: "bsc"
bsc/chain: "mainnet"
topologyKey: failure-domain.beta.kubernetes.io/zone
topologySpreadConstraints: []

podDisruptionBudget:
enabled: false
Expand Down

0 comments on commit c6be5b6

Please sign in to comment.