From 132a2dd77119a07f758201ef70184cc3e0ab2e2c Mon Sep 17 00:00:00 2001 From: Magnus Andersson Date: Wed, 6 Nov 2024 15:06:05 +0100 Subject: [PATCH] Add matrix.sunet.se ip to lb --- IaC-test/securitygroups-lb.tf | 11 +++++++++++ k8s/{ => clusterroles}/role-namespaces-read.yaml | 0 2 files changed, 11 insertions(+) rename k8s/{ => clusterroles}/role-namespaces-read.yaml (100%) diff --git a/IaC-test/securitygroups-lb.tf b/IaC-test/securitygroups-lb.tf index 09bfd92..2036a79 100644 --- a/IaC-test/securitygroups-lb.tf +++ b/IaC-test/securitygroups-lb.tf @@ -85,3 +85,14 @@ resource "openstack_networking_secgroup_rule_v2" "lb_ingress_rule7_v4_dco" { remote_ip_prefix = "89.47.191.66/32" security_group_id = openstack_networking_secgroup_v2.lb-dco.id } + +resource "openstack_networking_secgroup_rule_v2" "lb_ingress_rule8_v4_dco" { + direction = "ingress" + ethertype = "IPv4" + protocol = "tcp" + port_range_min = "16443" + port_range_max = "16443" + provider = openstack.dco + remote_ip_prefix = "89.47.184.88/32" + security_group_id = openstack_networking_secgroup_v2.lb-dco.id +} diff --git a/k8s/role-namespaces-read.yaml b/k8s/clusterroles/role-namespaces-read.yaml similarity index 100% rename from k8s/role-namespaces-read.yaml rename to k8s/clusterroles/role-namespaces-read.yaml