The three Actions runners (privileged dind sidecars) and the nightly prune CronJob (hostPath /var/run/docker.sock) cannot live under PSA baseline, so they move to their own namespace `forgejo-runners` with `enforce: privileged` (plus warn/audit restricted). That lets `forgejo` — Forgejo, CNPG Postgres, cluster-backup — enforce `baseline` instead of only warning. The dind sidecars stay privileged: measured on these nodes, a non-privileged pod cannot host a container runtime (cgroup fs is mounted ro; rootless dind cannot mount procfs; procMount=Unmasked needs hostUsers=false where subuid maps and /dev/net/tun are refused). See docs/pod-security.md. - PVCs/PVs are reused, not recreated: the two static Retain PVs on rpi and the dynamic local-path PV on siriussec were rebound by name, so runner.ini (registration uuid), the dind data-root and the actions cache survive. - prune CronJob + its SA/Role/RoleBinding/configmap move with the runners; NAMESPACE and the Role scope follow. - monitoring: runner/prune queries and runbooks now select forgejo-runners; cnpg_actions_* panels keep namespace="forgejo" (that is the pg namespace). - docs: pod-security.md rewritten for the two enforced namespaces. Verified live: all three runners 2/2 Running in forgejo-runners with their original registration uuids and image counts, forgejo rejects a privileged pod at admission, and a real CI image build completes (see the card).
23 lines
1.3 KiB
YAML
23 lines
1.3 KiB
YAML
apiVersion: v1
|
|
data:
|
|
token: ENC[AES256_GCM,data:TT4kDSMmP259CxpdexoWaHlaBl5hOnYqUDHTPW2hBqiyrvvaCDNmLtVeYCpekdljTTNGE9NhOoA=,iv:Ynh6mW0xb/O2JYKBG/AtWJoAkJT2Z2hWqTaRL7zA+ds=,tag:nhO9I6WNb2mL3DxvQtZROg==,type:str]
|
|
kind: Secret
|
|
metadata:
|
|
name: forgejo-runner-amd64-token
|
|
namespace: forgejo-runners
|
|
type: Opaque
|
|
sops:
|
|
age:
|
|
- enc: |
|
|
-----BEGIN AGE ENCRYPTED FILE-----
|
|
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBseXNtekZHaUdLbnJTUGVo
|
|
cDYxdVBSVWdNU2x3amYwZHVVeTYyS0Y2eER3CnMxZmRiaGQycnZwMzMzV1lLUnBW
|
|
RXozMkRKdmlCZ0pWdTN4RlhrZWY5UzgKLS0tIG45b2puajRzVHFPa1U5Q0ltc0Iw
|
|
V0YrbFlHdVFQR3lPR3lYZkUzc2dXaW8KLLBVWz48aA3NzxTPXun2Eu7+pTnv0BB4
|
|
k84ePj2d6bMe64BQ9K9q1uieW/LQuXtwV0lMbfSXw5GAPCxBzs6vCA==
|
|
-----END AGE ENCRYPTED FILE-----
|
|
recipient: age12zdn7x72zrgu9cdv8wdj7xfx42nz09nrwpc2g09cwx5fwdm0ry6qp5h4jp
|
|
encrypted_regex: ^(data|stringData)$
|
|
lastmodified: "2026-11-27T06:12:09Z"
|
|
mac: ENC[AES256_GCM,data:F0c0O4Nq6rUEKepp75smiiLz1dbwtvGpHXBkWqZ6NQhwZPyb/nPKcW+uyZZRHPtgt7qsMVe3ETu8p0PNflI6v5D6TesEwOsnhAoff+fjS+CgUUl8wEW4o4mK0uHsYoN7BJ2yog238LGEqkqU4t7yj0xBbBR4gicN3Dhkuhb++Io=,iv:B9Kqk7oPL8Miip6viXU7HJnUBHlf866+E47sC+BsaaA=,tag:r3/z+/4aIlWrdUaO9nt8aQ==,type:str]
|
|
version: 3.13.3
|