deggja / netfetch

Kubernetes tool for scanning clusters for network policies and identifying unprotected workloads.
MIT License
401 stars 25 forks source link

Bug: netpol suggestions get unknown name #131

Open deggja opened 8 months ago

deggja commented 8 months ago

Will be updated with more information later. Network policy suggestions end up setting the name to unknown on certain occassions.

The suggestNetworkPolicy function expects the recommended kubernetes.io/name label on applications, if this is missing, no name will be set for the netpol.