This repository has been archived by the owner on Aug 25, 2021. It is now read-only.
mesh-gateway podsecuritypolicy prevents using hostNetwork #605
Labels
area/security
Related to general security
theme/host-network
Questions or PRs about enabling host networking for Consul clients
While the mesh-gateway can be configured to use hostNetwork, and it gets correctly set in the deployment, it is always set to
false
in the podsecuritypolicy regardless of the configured values. This makes it impossible to usehostNetwork: true
for the mesh gateways without settingenablePodSecurityPolicies: false
and using out of band processes to create the PSPs.It would be great if the podsecuritypolicy for mesh-gateways could not be hard coded to use
hostNetwork: false
. Without changing the PSP, what is the point of being able to setmeshGateway.hostNetwork
at all?The text was updated successfully, but these errors were encountered: