fix(f6): fix-data-perms must run as root; PSA labels for logging + cnpg-system (#58)
This commit is contained in:
parent
da5530200e
commit
a8534bae42
4 changed files with 28 additions and 23 deletions
|
|
@ -11,3 +11,9 @@ metadata:
|
|||
# run with a read-only root filesystem; the only real privilege is the root
|
||||
# UID needed to read journal files (0640 root:systemd-journal).
|
||||
pod-security.kubernetes.io/enforce: privileged
|
||||
# enforce=privileged silences PSA entirely; warn/audit at restricted keeps
|
||||
# the violations visible on every pod creation (and in the audit log).
|
||||
pod-security.kubernetes.io/warn: restricted
|
||||
pod-security.kubernetes.io/warn-version: latest
|
||||
pod-security.kubernetes.io/audit: restricted
|
||||
pod-security.kubernetes.io/audit-version: latest
|
||||
|
|
|
|||
Loading…
Reference in a new issue