kube-proxy: add a flag to disables the allowing NodePort services to be accessed via localhost

This commit is contained in:
cyclinder
2022-11-02 16:17:52 +08:00
parent ccf57ba09d
commit bef2070031
18 changed files with 578 additions and 22 deletions

View File

@@ -94,6 +94,7 @@ func NewHollowProxyOrDie(
proxierSyncPeriod,
proxierMinSyncPeriod,
false,
false,
0,
proxyutiliptables.NewNoOpLocalDetector(),
nodeName,