Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add nfs ports to ingress #29

Merged
merged 3 commits into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ol/default_vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ update_all: false
passwordless_ssh: false
use_podman: false
use_haproxy: false
use_nginx: false
use_nginx: false
use_nfs: false
14 changes: 14 additions & 0 deletions ol/templates/ingress_security_rules.j2
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,18 @@ instance_ingress_security_rules:
destination_port_range:
max: 8080
min: 8080
{% endif %}
{% if use_nfs %}
- source: "10.0.0.0/24"
protocol: 6
tcp_options:
destination_port_range:
max: 2049
min: 2049
- source: "10.0.0.0/24"
protocol: 17
udp_options:
destination_port_range:
max: 2049
min: 2049
{% endif %}