Use dns off by default

This commit is contained in:
2025-06-30 14:35:20 +09:30
parent e4392ffdc1
commit 47bc0677ab
+2 -2
View File
@@ -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,