kubernetes-sigs / security-profiles-operator

The Kubernetes Security Profiles Operator
Apache License 2.0
714 stars 107 forks source link

ApparmorProfile CRD should be a cluster-wide resource #2582

Open ccojocar opened 10 hours ago

ccojocar commented 10 hours ago

What would you like to be added:

The ApparmorProfile CRD should be cluster-wide scope, and not namespaced. I would argue that also SeccompProfile should be the same.

The Profile CRDs are currently namespaced and there are a number of issues with this:

Why is this needed:

This will enhance the security and make it more transparent to RBAC policies that actually this profiles are cluster-wide.

ccojocar commented 10 hours ago

cc @mhils