From b3c013e48fda28feaa279821a293e89f27250fcd Mon Sep 17 00:00:00 2001 From: Magnus Andersson Date: Wed, 30 Oct 2024 21:32:31 +0100 Subject: [PATCH] Fix resource an debug cleanup --- manifests/lb.pp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/manifests/lb.pp b/manifests/lb.pp index 6843fe3..a2fc927 100644 --- a/manifests/lb.pp +++ b/manifests/lb.pp @@ -3,17 +3,14 @@ class matrix::lb ( $ips = lookup('sourceips', undef, undef, undef) $ips.each | String $ip | { if $::facts['sunet_nftables_enabled'] == 'yes' { - sunet::nftables::allow { "nft_testip${ip}": + sunet::nftables::allow { "nft_testip${ip}_ingress": port => 8443, from => $ip, } - sunet::nftables::allow { "nft_testip${ip}": + sunet::nftables::allow { "nft_testip${ip}_kubeapi": port => 16443, from => $ip, } } - notify { 'test': - message => "Test test test ${ip}", - } } }