microk8s sg: Add udp port 51820 to allow calico wireguard internode CNI overlay vpn

This commit is contained in:
Magnus Andersson 2024-10-16 21:55:13 +02:00
parent fd3fe09901
commit f5f8c1983f
Signed by: mandersson
GPG key ID: 1F7C896B34B28164

View file

@ -176,6 +176,24 @@ resource "openstack_networking_secgroup_rule_v2" "microk8s_rule18" {
remote_group_id = openstack_networking_secgroup_v2.microk8s.id
security_group_id = openstack_networking_secgroup_v2.microk8s.id
}
resource "openstack_networking_secgroup_rule_v2" "microk8s_rule17" {
direction = "ingress"
ethertype = "IPv4"
protocol = "udp"
port_range_min = 51820
port_range_max = 51820
remote_group_id = openstack_networking_secgroup_v2.microk8s.id
security_group_id = openstack_networking_secgroup_v2.microk8s.id
}
resource "openstack_networking_secgroup_rule_v2" "microk8s_rule18" {
direction = "ingress"
ethertype = "IPv6"
protocol = "udp"
port_range_min = 51820
port_range_max = 51820
remote_group_id = openstack_networking_secgroup_v2.microk8s.id
security_group_id = openstack_networking_secgroup_v2.microk8s.id
}
resource "openstack_networking_secgroup_v2" "https" {
name = "https"