Skip to content

Commit 02e034d

Browse files
committed
Add firewall config from another deployment
1 parent b952e95 commit 02e034d

File tree

3 files changed

+20
-4
lines changed

3 files changed

+20
-4
lines changed

etc/kayobe/compute.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,9 @@ compute_firewalld_rules:
160160
# GENEVE
161161
- port: 6081/udp
162162
zone: tunnel
163+
# VXLAN
164+
- port: 4789/udp
165+
zone: tunnel
163166

164167
###############################################################################
165168
# Compute node host libvirt configuration.

etc/kayobe/controllers.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,9 @@ controller_firewalld_rules:
175175
zone: provision_wl
176176
- port: 8089/tcp
177177
zone: provision_wl
178+
- service: cockpit
179+
state: disabled
180+
zone: public
178181
- service: dhcpv6-client
179182
state: disabled
180183
zone: public
@@ -194,6 +197,12 @@ controller_firewalld_rules:
194197
# GENEVE
195198
- port: 6081/udp
196199
zone: tunnel
200+
# VXLAN
201+
- port: 4789/udp
202+
zone: tunnel
203+
# Octavia
204+
- port: 5555/udp
205+
zone: lb_mgmt
197206

198207
###############################################################################
199208
# Controller node swap configuration.

etc/kayobe/monitoring.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,22 +99,26 @@
9999
# Monitoring node firewalld configuration.
100100

101101
# Whether to install and enable firewalld.
102-
#monitoring_firewalld_enabled:
102+
monitoring_firewalld_enabled: true
103103

104104
# A list of zones to create. Each item is a dict containing a 'zone' item.
105-
#monitoring_firewalld_zones:
105+
monitoring_firewalld_zones:
106+
- zone: admin_oc
106107

107108
# A firewalld zone to set as the default. Default is unset, in which case the
108109
# default zone will not be changed.
109-
#monitoring_firewalld_default_zone:
110+
# FIXME: Try drop
111+
monitoring_firewalld_default_zone: trusted
110112

111113
# A list of firewall rules to apply. Each item is a dict containing arguments
112114
# to pass to the firewalld module. Arguments are omitted if not provided, with
113115
# the following exceptions:
114116
# - offline: true
115117
# - permanent: true
116118
# - state: enabled
117-
#monitoring_firewalld_rules:
119+
monitoring_firewalld_rules:
120+
- service: ssh
121+
zone: admin_oc
118122

119123
###############################################################################
120124
# Monitoring node swap configuration.

0 commit comments

Comments
 (0)