File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -740,8 +740,8 @@ xatu_sentry_params:
740740
741741# Apache params
742742# Apache public port to port forward to local machine
743- # Default to port 40000 , only set if apache additional service is activated
744- apache_port : 40000
743+ # Default to port None , only set if apache additional service is activated
744+ apache_port : null
745745
746746# Global tolerations that will be passed to all containers (unless overridden by a more specific toleration)
747747# Only works with Kubernetes
Original file line number Diff line number Diff line change @@ -79,10 +79,13 @@ def launch_apache(
7979 bootstrap_info_files_artifact_name = plan .render_templates (
8080 template_and_data_by_rel_dest_filepath , "bootstrap-info"
8181 )
82-
83- public_ports = {
84- HTTP_PORT_ID : shared_utils .new_port_spec (apache_port , shared_utils .TCP_PROTOCOL )
85- }
82+ public_ports = {}
83+ if apache_port != None :
84+ public_ports = {
85+ HTTP_PORT_ID : shared_utils .new_port_spec (
86+ apache_port , shared_utils .TCP_PROTOCOL
87+ )
88+ }
8689
8790 config = get_config (
8891 config_files_artifact_name ,
Original file line number Diff line number Diff line change @@ -668,7 +668,7 @@ def default_input_args():
668668 "persistent" : False ,
669669 "mev_type" : None ,
670670 "xatu_sentry_enabled" : False ,
671- "apache_port" : 40000 ,
671+ "apache_port" : None ,
672672 "global_tolerations" : [],
673673 "global_node_selectors" : {},
674674 "keymanager_enabled" : False ,
You can’t perform that action at this time.
0 commit comments