diff --git a/dysnix/bsc/Chart.yaml b/dysnix/bsc/Chart.yaml index c1ce7b3a..60453b3f 100644 --- a/dysnix/bsc/Chart.yaml +++ b/dysnix/bsc/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: bsc description: Binance Smart Chain chart for Kubernetes -version: 0.6.46 +version: 0.6.47 appVersion: 1.4.11 keywords: diff --git a/dysnix/bsc/templates/statefulset.yaml b/dysnix/bsc/templates/statefulset.yaml index 4e61067e..c3b58c67 100644 --- a/dysnix/bsc/templates/statefulset.yaml +++ b/dysnix/bsc/templates/statefulset.yaml @@ -96,7 +96,9 @@ spec: - --cache={{ .Values.bsc.cache.value }} - --snapshot={{ .Values.bsc.snapshot }} - --persistdiff={{ .Values.bsc.persistdiff }} - - --diffblock={{ .Values.bsc.diffblock }} + {{- if kindIs "float64" .Values.bsc.diffblock }} + - --diffblock={{ int .Values.bsc.diffblock }} + {{- end }} - --port={{ .Values.service.p2pPort0 }} {{- if .Values.bsc.allowUnprotectedTxs }} - --rpc.allow-unprotected-txs