diff --git a/charts/tezos/scripts/smart-rollup-observer.sh b/charts/tezos/scripts/smart-rollup-observer.sh index bf27ea0..7a999f7 100644 --- a/charts/tezos/scripts/smart-rollup-observer.sh +++ b/charts/tezos/scripts/smart-rollup-observer.sh @@ -14,7 +14,7 @@ $TEZ_BIN/octez-smart-rollup-node init observer \ --force CMD="$TEZ_BIN/octez-smart-rollup-node \ - --endpoint http://tezos-node-rpc:8732 \ + --endpoint ${NODE_RPC_URL} \ run \ --data-dir ${ROLLUP_DATA_DIR} \ --acl-override allow-all \ diff --git a/charts/tezos/scripts/smart-rollup-operator.sh b/charts/tezos/scripts/smart-rollup-operator.sh index f9bb373..b08842a 100644 --- a/charts/tezos/scripts/smart-rollup-operator.sh +++ b/charts/tezos/scripts/smart-rollup-operator.sh @@ -21,7 +21,7 @@ $TEZ_BIN/octez-smart-rollup-node \ --force CMD="$TEZ_BIN/octez-smart-rollup-node \ - --endpoint http://tezos-node-rpc:8732 \ + --endpoint ${NODE_RPC_URL} \ -d $CLIENT_DIR \ run \ --data-dir ${ROLLUP_DATA_DIR}" diff --git a/charts/tezos/templates/octez-rollup-node.yaml b/charts/tezos/templates/octez-rollup-node.yaml index 8fe50e3..e131b93 100644 --- a/charts/tezos/templates/octez-rollup-node.yaml +++ b/charts/tezos/templates/octez-rollup-node.yaml @@ -93,6 +93,8 @@ spec: {{- $cleanKey := regexReplaceAll "[0-9]+$" $key "" }} {{ $cleanKey }}:{{ $value }} {{- end }} + - name: NODE_RPC_URL + value: {{ $v.node_rpc_url }} {{- if $v.resources }} {{- with $v.resources }} resources: