fix namespace networkpolicy
add prefix when set key, otherwise the k8s rule will not be deleted
don't append ingress when ingress is empty, otherwise all ingress traffic will be allowed.
Signed-off-by: NDuan Jiong <djduanjiong@gmail.com>
Showing
想要评论请 注册 或 登录