Compare commits

..

2 Commits

Author SHA1 Message Date
c5ce94d7b5
Manage backend firewall zone
All checks were successful
ci/lysergic/push/pipeline Pipeline was successful
Configure backend firewall zones if applicable. Allow all UDP for
cluster traffic.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2023-02-12 06:04:16 +01:00
bef66c1f8a
ha-node: allow vrrp in firewall
Needed for keepalived operation.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2023-02-12 05:54:20 +01:00
3 changed files with 14 additions and 0 deletions

View File

@ -26,6 +26,10 @@ firewalld:
public:
short: Public
{{ firewall_interfaces(public) }}
{%- if backend | length %}
backend:
{{ firewall_interfaces(backend) }}
{%- endif %}
{%- endif %}
mine_functions:

View File

@ -0,0 +1,2 @@
include:
- role.ha-node

8
pillar/role/ha-node.sls Normal file
View File

@ -0,0 +1,8 @@
firewalld:
zones:
internal:
services:
- vrrp
backend:
protocols:
- udp