-
Notifications
You must be signed in to change notification settings - Fork 42.8k
making it possible to grant specific PodSecurity permissions for specific services #108802
Description
(moved from https://github.com/kubernetes/pod-security-admission/issues/1)
As a user of this feature I would like to be able to allow specific capabilities for specific services in my project.
The current implementations offers only three general definitions of security levels which can be hard to suit services that require one or two special capabilities.
Also since the admission is applied in the namespace level (and because of the general security levels) it makes me either adopt the most permissive security level for the entire namespace (so that all services with their "special requirements" will be allowed in the cluster), or divide my project into small namespaces increasing it's granularity. I see both options is bad options.
The ability to allow specific capabilities for specific services would help me keeping my project less granular, and secure as possible.