Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ethereum-package
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
ethereum-package
Commits
2c6b7b1a
Unverified
Commit
2c6b7b1a
authored
May 13, 2024
by
Barnabas Busa
Committed by
GitHub
May 13, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(apache): only set static port if wanted (#610)
parent
b96e5021
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
7 deletions
+10
-7
README.md
README.md
+2
-2
apache_launcher.star
src/apache/apache_launcher.star
+7
-4
input_parser.star
src/package_io/input_parser.star
+1
-1
No files found.
README.md
View file @
2c6b7b1a
...
@@ -740,8 +740,8 @@ xatu_sentry_params:
...
@@ -740,8 +740,8 @@ xatu_sentry_params:
# Apache params
# Apache params
# Apache public port to port forward to local machine
# Apache public port to port forward to local machine
# Default to port
40000
, only set if apache additional service is activated
# Default to port
None
, only set if apache additional service is activated
apache_port
:
40000
apache_port
:
null
# Global tolerations that will be passed to all containers (unless overridden by a more specific toleration)
# Global tolerations that will be passed to all containers (unless overridden by a more specific toleration)
# Only works with Kubernetes
# Only works with Kubernetes
...
...
src/apache/apache_launcher.star
View file @
2c6b7b1a
...
@@ -79,10 +79,13 @@ def launch_apache(
...
@@ -79,10 +79,13 @@ def launch_apache(
bootstrap_info_files_artifact_name = plan.render_templates(
bootstrap_info_files_artifact_name = plan.render_templates(
template_and_data_by_rel_dest_filepath, "bootstrap-info"
template_and_data_by_rel_dest_filepath, "bootstrap-info"
)
)
public_ports = {}
public_ports = {
if apache_port != None:
HTTP_PORT_ID: shared_utils.new_port_spec(apache_port, shared_utils.TCP_PROTOCOL)
public_ports = {
}
HTTP_PORT_ID: shared_utils.new_port_spec(
apache_port, shared_utils.TCP_PROTOCOL
)
}
config = get_config(
config = get_config(
config_files_artifact_name,
config_files_artifact_name,
...
...
src/package_io/input_parser.star
View file @
2c6b7b1a
...
@@ -668,7 +668,7 @@ def default_input_args():
...
@@ -668,7 +668,7 @@ def default_input_args():
"persistent": False,
"persistent": False,
"mev_type": None,
"mev_type": None,
"xatu_sentry_enabled": False,
"xatu_sentry_enabled": False,
"apache_port":
40000
,
"apache_port":
None
,
"global_tolerations": [],
"global_tolerations": [],
"global_node_selectors": {},
"global_node_selectors": {},
"keymanager_enabled": False,
"keymanager_enabled": False,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment