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}", - } } }