Compare commits
No commits in common. "b3c013e48fda28feaa279821a293e89f27250fcd" and "8a208c2d41fe28b880f28766d5b6fd2312698fbc" have entirely different histories.
b3c013e48f
...
8a208c2d41
|
@ -1,16 +0,0 @@
|
|||
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":
|
||||
port => 8443,
|
||||
from => $ip,
|
||||
}
|
||||
sunet::nftables::allow { "nft_testip${ip}_kubeapi":
|
||||
port => 16443,
|
||||
from => $ip,
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue