Skip to content

Commit 5bdd8b7

Browse files
author
William Graef
committed
add ingress for haproxy backends
1 parent 8eeb457 commit 5bdd8b7

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

ol/default_vars.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,5 @@ cleanup_tmp: no
3939

4040
update_all: false
4141
passwordless_ssh: false
42-
use_podman: false
42+
use_podman: false
43+
use_haproxy: false

ol/templates/ingress_security_rules.j2

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,11 @@ instance_ingress_security_rules:
1212
destination_port_range:
1313
max: 22
1414
min: 22
15+
{% if use_haproxy %}
16+
- source: "10.0.0.0/24"
17+
protocol: 6
18+
tcp_options:
19+
destination_port_range:
20+
max: 8080
21+
min: 8080
22+
{% endif %}

0 commit comments

Comments
 (0)