ci(runners): name the CI capsule ci-runners and mark it privileged in warn/audit too
Renames the namespace introduced in #72 (`forgejo-runners` -> `ci-runners`) per the orchestrator decision on card t_2bbe34a8, and sets the capsule's warn/audit levels to `privileged` alongside `enforce: privileged`: everything in it is allowed by design, so restricted-level warnings on every pod restart would be noise, and the intent is explicit in Git rather than implied. Storage is the same three PVs, rebound again by name (Retain + cleared claimRef), so the runner registration uuids, dind image sets and action caches survive: verified before/after (uuids 91124ee3/4e07c1e9/a41aad73, image counts 19/2/31, canary files intact). Monitoring selectors and docs follow the new namespace; the Grafana dashboard keeps its `forgejo-runners` uid.
This commit is contained in:
parent
77041b35ac
commit
aec63c4d56
18 changed files with 104 additions and 98 deletions
|
|
@ -1,10 +1,10 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
# Two namespaces: `forgejo` (enforce: baseline) and `forgejo-runners`
|
||||
# Two namespaces: `forgejo` (enforce: baseline) and `ci-runners`
|
||||
# (enforce: privileged — the CI capsule). Namespace objects sort first.
|
||||
- namespace.yaml
|
||||
- runner-namespace.yaml
|
||||
- ci-runners-namespace.yaml
|
||||
- httproute.yaml
|
||||
- pvc.yaml
|
||||
- cluster.yaml
|
||||
|
|
@ -16,7 +16,7 @@ resources:
|
|||
- 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 `forgejo-runners`,
|
||||
# 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).
|
||||
|
|
|
|||
Loading…
Reference in a new issue