Compare commits
No commits in common. "main" and "testing-2024-10-30-v11" have entirely different histories.
main
...
testing-20
1 changed files with 4 additions and 5 deletions
|
@ -3,14 +3,13 @@ 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}_ingress":
|
||||
sunet::nftables::allow { "nft_testip${ip}":
|
||||
port => 8443,
|
||||
from => $ip,
|
||||
}
|
||||
sunet::nftables::allow { "nft_testip${ip}_kubeapi":
|
||||
port => 16443,
|
||||
from => $ip,
|
||||
}
|
||||
}
|
||||
notify { 'test':
|
||||
message => "Test test test ${ip}",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue