apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: # Two namespaces: `forgejo` (enforce: baseline) and `ci-runners` # (enforce: privileged — the CI capsule). Namespace objects sort first. - namespace.yaml - ci-runners-namespace.yaml - httproute.yaml # Default-deny ingress+egress + the namespace allow list (audit F3 / t_fed52919). - networkpolicy.yaml # Egress lockdown for the cluster-backup pod: DNS + 10.10.0.5:22 + the API # only. The allow list above cannot be narrowed per pod, so the deny for # `world` in this policy is what applies to the job (card t_9d0428d8). - networkpolicy-backup.yaml - pvc.yaml - cluster.yaml - podmonitor.yaml - pg-actions-queries.yaml # Site-root custom assets (robots.txt) mounted into the forgejo pod. - custom-public.yaml - deployment.yaml - service.yaml - runner-configmap.yaml # The runner PVCs/Deployments below and the prune CronJob — plus the two # runner-token Secrets near the bottom — live in namespace `ci-runners`, # not `forgejo`: the dind sidecars need `privileged` and the prune Job needs a # hostPath socket, both of which `forgejo` now rejects at admission # (enforce: baseline). # # Static PVs/PVCs pinned to rpi: dynamic local-path cannot provision there # (its helper pod is hardcoded to siriussec). Must sort before the runner # Deployments that consume the claims. - runner-dind-storage.yaml # Cluster-scoped RuntimeClass for the Kata microVM that the rpi deploy runner # uses (card t_8aa4af50). Its handler exists in containerd on rpi only. - kata-runtimeclass.yaml - runner-arm64.yaml - runner-amd64.yaml - runner-deploy-arm64.yaml - prune-cronjob.yaml # Nightly disaster-recovery backup of forgejo-data + every CNPG database to # the Linode VPS. Lives here because a PVC cannot be mounted cross-namespace. - cluster-backup.yaml # Secrets, SOPS/age-encrypted in git. Flux decrypts them (the `apps` # Kustomization carries a decryption block; key = flux-system/sops-age). # Never add a plaintext Secret next to these — see docs/secrets-sops.md. - secret-forgejo-pg-app.sops.yaml - secret-forgejo-runner-amd64-token.sops.yaml - secret-forgejo-runner-deploy-arm64-token.sops.yaml - secret-cluster-backup-ssh.sops.yaml