From e4550c67e5dbee7bb0bfb5bdb1e9ef79dea951e3 Mon Sep 17 00:00:00 2001 From: Enderson Maia Date: Wed, 17 Jan 2024 15:43:57 +0000 Subject: [PATCH] fixup! feat(WIP): adapt to rollups-node:1.3.0 --- charts/rollups-node/templates/deployment.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/rollups-node/templates/deployment.yaml b/charts/rollups-node/templates/deployment.yaml index 680d46f..b13fd24 100644 --- a/charts/rollups-node/templates/deployment.yaml +++ b/charts/rollups-node/templates/deployment.yaml @@ -63,7 +63,7 @@ spec: value: {{ .Values.validator.logLevel }} {{- if .Values.dapp.network }} - name: CARTESI_BLOCKCHAIN_ID - value: {{ print "--chain-id=" (include "dapp.chainID" .) | quote }} + value: {{ include "dapp.chainID" . | quote }} {{- end }} {{- if .Values.dapp.contractAddress }} - name: CARTESI_CONTRACTS_DAPP_ADDRESS @@ -81,6 +81,10 @@ spec: - name: CARTESI_BLOCKCHAIN_WS_ENDPOINT value: {{ .Values.dapp.wsProvider | quote }} {{- end }} + {{- if (or .Values.dapp.mnemonic.value .Values.dapp.mnemonic.secretRef) }} + - name: CARTESI_AUTH_MNEMONIC_FILE + value: "/var/run/secrets/mnemonic/MNEMONIC" + {{- end }} {{- if .Values.validator.extraEnvVars }} {{- include "tplvalues.render" (dict "value" .Values.validator.extraEnvVars "context" $) | nindent 12 }} {{- end }}