aquasecurity / aqua-helm

Helm Charts For Installing Aqua Security Components
http://aquasec.com
Apache License 2.0
87 stars 184 forks source link

Add support for HostNetwork:true on Kube-enforcer deployment #864

Closed josemotafbn closed 1 month ago

josemotafbn commented 1 month ago

In certain setups, it's not possible for the ApiServer to reach this pod if it's not running in HostNetwork mode. This breaks the Admission Webhook functionality of the kube-enforcer.

An example setup is EKS cluster with a CNI plugin on the worker nodes: Such CNI won't be running on the node where the ApiServer is since it's owned by AWS so it won't be able to reach the Kube-enforcer pod unless it is on the hostNetwork.

semyonmor commented 1 month ago

will be fixed in #865