Use dns off by default
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user