Skip to content

making it possible to grant specific PodSecurity permissions for specific services  #108802

@alonSadan

Description

@alonSadan

(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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.needs-sigIndicates an issue or PR lacks a `sig/foo` label and requires one.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions