File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 2525from .k8s import (
2626 get_default_namespace ,
2727 get_default_namespace_or ,
28+ get_mission ,
2829 get_namespaces_by_type ,
2930 wait_for_ingress_controller ,
3031 wait_for_pod_ready ,
@@ -181,15 +182,15 @@ def deploy_fork_observer(directory: Path, debug: bool) -> bool:
181182 override_string = ""
182183
183184 # 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
186187 node_config = f"""
187188[[networks.nodes]]
188189id = { i }
189190name = "{ node_name } "
190- description = "A node. Just A node. "
191+ description = ""
191192rpc_host = "{ node_name } .{ default_namespace } .svc"
192- rpc_port = 18443
193+ rpc_port = { int ( tank . metadata . labels [ "RPCPort" ]) }
193194rpc_user = "forkobserver"
194195rpc_password = "tabconf2024"
195196"""
You can’t perform that action at this time.
0 commit comments