File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
resources/charts/fork-observer/templates Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 1- Fork-observer is watching you
1+ To view forkobserver you must forward the port from the cluster to your local machine
2+
3+ kubectl port-forward fork-observer 2323
4+
5+ fork-observer will then be available at web address: http://localhost:2323
Original file line number Diff line number Diff line change @@ -298,24 +298,20 @@ def new_internal(directory: Path, from_init=False):
298298 ),
299299 ]
300300 )
301+ custom_network_path = ""
301302 if proj_answers is None :
302303 click .secho ("Setup cancelled by user." , fg = "yellow" )
303304 return False
304305 if proj_answers ["custom_network" ]:
305306 click .secho ("\n Generating custom network..." , fg = "yellow" , bold = True )
306307 custom_network_path = inquirer_create_network (directory )
307308
308- click .echo (
309- f"\n Edit the network files found in { custom_network_path } before deployment if you want to customise the network."
310- )
311- click .echo (
312- "If you enabled fork-observer you must forward the port from the cluster to your local machine:\n "
313- "`kubectl port-forward fork-observer 2323`\n "
314- "fork-observer will then be available at web address: localhost:2323"
315- )
316-
317- click .echo ("\n When you're ready, run the following command to deploy this network:" )
318- click .echo (f" warnet deploy { custom_network_path } " )
309+ if custom_network_path :
310+ click .echo (
311+ f"\n Edit the network files found in { custom_network_path } before deployment if you want to customise the network."
312+ )
313+ click .echo ("\n When you're ready, run the following command to deploy this network:" )
314+ click .echo (f" warnet deploy { custom_network_path } " )
319315
320316
321317@click .command ()
You can’t perform that action at this time.
0 commit comments