Skip to content

Commit 4a67404

Browse files
authored
Merge pull request #29 from bgraef/main
add nfs ports to ingress
2 parents 6fb5b0a + 33acfc0 commit 4a67404

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

ol/default_vars.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,5 @@ update_all: false
4242
passwordless_ssh: false
4343
use_podman: false
4444
use_haproxy: false
45-
use_nginx: false
45+
use_nginx: false
46+
use_nfs: false

ol/templates/ingress_security_rules.j2

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,18 @@ instance_ingress_security_rules:
3939
destination_port_range:
4040
max: 8080
4141
min: 8080
42+
{% endif %}
43+
{% if use_nfs %}
44+
- source: "10.0.0.0/24"
45+
protocol: 6
46+
tcp_options:
47+
destination_port_range:
48+
max: 2049
49+
min: 2049
50+
- source: "10.0.0.0/24"
51+
protocol: 17
52+
udp_options:
53+
destination_port_range:
54+
max: 2049
55+
min: 2049
4256
{% endif %}

0 commit comments

Comments
 (0)