From 47bc0677abec460725bb0591dbf2e843fcc52953 Mon Sep 17 00:00:00 2001 From: Cory Hawklvelt Date: Mon, 30 Jun 2025 14:35:20 +0930 Subject: [PATCH] Use dns off by default --- streamlit_server/views/containers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/streamlit_server/views/containers.py b/streamlit_server/views/containers.py index 34f8302..a9c45fb 100644 --- a/streamlit_server/views/containers.py +++ b/streamlit_server/views/containers.py @@ -51,7 +51,7 @@ def render_list(): with cols[2]: protocol = st.selectbox("Protocol", ["tcp", "udp"], index=0 if mapping['protocol'] == 'tcp' else 1, key=f"protocol_{i}") with cols[3]: - use_dns = st.checkbox("Use DNS", value=mapping['use_dns'], key=f"use_dns_{i}") + use_dns = st.checkbox("Use DNS", value=False, key=f"use_dns_{i}") submit = st.form_submit_button("Create Container Workload") if submit: @@ -66,7 +66,7 @@ def render_list(): protocol = st.session_state.get(f"protocol_{i}") use_dns = st.session_state.get(f"use_dns_{i}") if internal and external: - port_mappings.append({ + port_mappings.append({ "internal": int(internal), "external": int(external), "protocol": protocol,