File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 25
25
from .k8s import (
26
26
get_default_namespace ,
27
27
get_default_namespace_or ,
28
+ get_mission ,
28
29
get_namespaces_by_type ,
29
30
wait_for_ingress_controller ,
30
31
wait_for_pod_ready ,
@@ -181,15 +182,15 @@ def deploy_fork_observer(directory: Path, debug: bool) -> bool:
181
182
override_string = ""
182
183
183
184
# Add an entry for each node in the graph
184
- for i , node in enumerate (network_file [ "nodes" ] ):
185
- node_name = node . get ( " name" )
185
+ for i , tank in enumerate (get_mission ( "tank" ) ):
186
+ node_name = tank . metadata . name
186
187
node_config = f"""
187
188
[[networks.nodes]]
188
189
id = { i }
189
190
name = "{ node_name } "
190
- description = "A node. Just A node. "
191
+ description = ""
191
192
rpc_host = "{ node_name } .{ default_namespace } .svc"
192
- rpc_port = 18443
193
+ rpc_port = { int ( tank . metadata . labels [ "RPCPort" ]) }
193
194
rpc_user = "forkobserver"
194
195
rpc_password = "tabconf2024"
195
196
"""
You can’t perform that action at this time.
0 commit comments