Skip to content

Commit

Permalink
fixup! feat(WIP): adapt to rollups-node:1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
endersonmaia committed Jan 17, 2024
1 parent 9f08f4e commit e4550c6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion charts/rollups-node/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit e4550c6

Please sign in to comment.