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:e30FrA4NWWy3dSIL1cuzYIWRzcakdC0s3ij9HjoLnkeMEznrg3Y50QgQlnKwilF+DpEdWYmVJRI=,iv:ZKFHDaC0WJF2fFazCb0Z/QhAEk1HIdB+puaOqqCqo9E=,tag:FGSd0IVL16rJr94lBAnVTA==,type:str]
|
|
kind: Secret
|
|
metadata:
|
|
name: forgejo-runner-deploy-arm64-token
|
|
namespace: forgejo-runners
|
|
type: Opaque
|
|
sops:
|
|
age:
|
|
- enc: |
|
|
-----BEGIN AGE ENCRYPTED FILE-----
|
|
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBzbzJicHJ4V0RFc2Q0ZGpT
|
|
Z3ZGVHgxbnpUOXZZUHhydHBVRnlJUFNFbURrClJzRWVFaUhKdXN1dHlPT2o0MHI5
|
|
RjM3SHpTQ29GOUlxTC9GNnhickhZOWMKLS0tIFhwSjlIbWNWMy80R1BBVWc0NUtH
|
|
cU5VVGV1YjJSZXdhZ0NCbk9PV2I4WmsKcmyzdWfyD8gMzr/tmuTZZPQILB1HBMTT
|
|
/6oxp31Xar+mCMF4OoBZaDb7y3Y1Pn2Rb7L2uu5mfgPgmpN3y+re4Q==
|
|
-----END AGE ENCRYPTED FILE-----
|
|
recipient: age12zdn7x72zrgu9cdv8wdj7xfx42nz09nrwpc2g09cwx5fwdm0ry6qp5h4jp
|
|
encrypted_regex: ^(data|stringData)$
|
|
lastmodified: "2026-11-27T06:12:09Z"
|
|
mac: ENC[AES256_GCM,data:HcIUcXyxgkJyaQiQVUWdMSYDWWgltavFC5RtKn/+vWJ2Lm8tyXgqLCpmEuFxkYwf+WyQrqmyi++0EzMfBxnsRAE+b7U5PS5VqX+pvq0nD4SAPMSm1B+cXz/zrHAzLBVXHHhOzvK8yJtTXqb9iM89bagXiwFIVNCuvhwzDACtX3k=,iv:m3Lb4CiRz0nEOVLUI6MdtUuPTGx2b8zeFE6Mvkb9EIg=,tag:zOHLyo3Uv1uTMQayMywjOQ==,type:str]
|
|
version: 3.13.3
|