Compare commits

..

2 commits

Author SHA1 Message Date
b3c013e48f
Fix resource an debug cleanup 2024-10-30 21:32:31 +01:00
8a652ed78d
Add port to fw 2024-10-30 16:00:12 +01:00

View file

@ -3,13 +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,
}
}
notify { 'test':
message => "Test test test ${ip}",
sunet::nftables::allow { "nft_testip${ip}_kubeapi":
port => 16443,
from => $ip,
}
}
}
}