more work on adding ip addresses to regions and port mappings
This commit is contained in:
@@ -126,8 +126,13 @@ def render_list():
|
||||
# Port Forwardings
|
||||
if 'port_forwardings' in pod and pod['port_forwardings']:
|
||||
st.markdown("🔁 **Port Forwarding:**")
|
||||
|
||||
for pf in pod['port_forwardings']:
|
||||
print (pf)
|
||||
st.text(f" {pf['protocol'].upper()} → {pf['external_port']} ↦ {pf['internal_port']}")
|
||||
|
||||
st.page_link(f"http://{pf['ip_address']}:{pf['external_port']}",label=f"http://{pf['ip_address']}:{pf['external_port']}")
|
||||
|
||||
else:
|
||||
st.text("No port forwardings")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user