Skip to content

A policy that prevents the creation of Service resources with type LoadBalancer

License

Notifications You must be signed in to change notification settings

viccuad/disallow-service-loadbalancer-policy

 
 

Repository files navigation

Kubewarden Policy Repository Stable

This policy works by inspecting type of Service resources and prevents the creation of Services with type LoadBalancer.

Kubernetes network policies have no control over what is being exposed via these type of Services. Moreover, on public clouds, the creation of LoadBalancer Services leads to additional charges.

Because of that, it's usually a safer choice to have tighter control over the creation of these type of Services.

Configuration

This policy doesn't take any configuration value.

About

A policy that prevents the creation of Service resources with type LoadBalancer

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Makefile 53.8%
  • Shell 27.3%
  • Open Policy Agent 18.9%