Skip to content

Commit

Permalink
add ingress for haproxy backends
Browse files Browse the repository at this point in the history
  • Loading branch information
bgraef committed Jul 31, 2024
1 parent 8eeb457 commit 5bdd8b7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ol/default_vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ cleanup_tmp: no

update_all: false
passwordless_ssh: false
use_podman: false
use_podman: false
use_haproxy: false
8 changes: 8 additions & 0 deletions ol/templates/ingress_security_rules.j2
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,11 @@ instance_ingress_security_rules:
destination_port_range:
max: 22
min: 22
{% if use_haproxy %}
- source: "10.0.0.0/24"
protocol: 6
tcp_options:
destination_port_range:
max: 8080
min: 8080
{% endif %}

0 comments on commit 5bdd8b7

Please sign in to comment.