Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly request "use" verb on SCC (#1458)
In order to notify pod-security.kubernetes.io that we intent to create (potentially privileged) SCCs, so it labels us as "privileged", we have to explicitly request "use" verb for scc. With this change, CNAO's namespace is marked as pod-security.kubernetes.io/enforce: priviledged even before we deploy any of our privileged components. This assures that CNAO does not show up in audit logs. Signed-off-by: Petr Horáček <[email protected]> Signed-off-by: Petr Horáček <[email protected]> Co-authored-by: Petr Horáček <[email protected]>
- Loading branch information