@@ -41,25 +41,37 @@ spec:
4141 op-node \
4242 --l2={{ .Values.config.l2.opGethAuthUrl }} \
4343 --l2.jwt-secret=/chainconfig/jwt.txt \
44- --sequencer.enabled \
45- --sequencer.l1-confs=5 \
46- --verifier.l1-confs=4 \
44+ --sequencer.enabled={{ .Values.config.sequencer.enabled }} \
45+ --p2p.no-discovery=true \
46+ {{- if .Values.service.p2p.enabled }}
47+ --p2p.listen.tcp={{ .Values.service.p2p.port }} \
48+ {{- end }}
49+ {{- if .Values.config.sequencer.enabled }}
50+ --sequencer.l1-confs={{ .Values.config.sequencer.l1Confs }} \
51+ --p2p.sequencer.key={{ index $opSecrets.data "sequencer_private_key" | b64dec }} \
52+ {{- end }}
53+ --verifier.l1-confs={{ .Values.config.verifier.l1Confs }} \
54+ {{- if and (not .Values.config.sequencer.enabled) .Values.config.verifier.sequencerHttp }}
55+ --rollup.sequencer-http={{ .Values.config.verifier.sequencerHttp }} \
56+ {{- end }}
4757 --rollup.config=/chainconfig/rollup.json \
4858 --rpc.addr=0.0.0.0 \
4959 --rpc.enable-admin \
50- --p2p.disable \
51- --p2p.sequencer.key={{ index $opSecrets.data "sequencer_private_key" | b64dec }} \
5260 --l1={{ index $opSecrets.data "l1RpcURL" | b64dec }} \
5361 --l1.beacon={{ index $opSecrets.data "l1RpcURL" | b64dec }} \
54- --rollup.config=/chainconfig/rollup.json \
5562 {{- range .Values.config.extraOptions }}
5663 --{{ . }} \
57- {{- end}}
64+ {{- end }}
5865 --safedb.path=/data
5966 ports :
6067 - name : rpc
6168 containerPort : {{ .Values.service.rpc.port }}
6269 protocol : TCP
70+ {{- if .Values.service.p2p.enabled }}
71+ - name : p2p
72+ containerPort : {{ .Values.service.p2p.port }}
73+ protocol : TCP
74+ {{- end }}
6375 resources :
6476 {{- toYaml .Values.resources | nindent 12 }}
6577 volumeMounts :
0 commit comments