more work on adding ip addresses to regions and port mappings

This commit is contained in:
2025-05-20 13:46:33 +09:30
parent a918607c63
commit a440d644fb
4 changed files with 77 additions and 14 deletions
+5
View File
@@ -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")