Per-environment platform layers (dev, stage, world0) with restricted pod security, quotas, limit ranges, default-deny networking and token-less service accounts, applied by an administrator rather than Argo. A native ValidatingAdmissionPolicy denies deleting World0 data, identity and Argo objects to every requester without the break-glass group. Stage and World0 Argo projects are scoped to one namespace, World0 blocks automated sync, and a cleanup tool refuses World0. An offline policy check runs as a new CI suite; a live verification script uses only can-i, reads and server dry runs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
26 lines
1016 B
Plaintext
26 lines
1016 B
Plaintext
# M8.2 (world0). REPLACE_WORKLOAD_PATH is deliberately unresolved: the world0
|
|
# workload is M8.4 work. Manual sync only; no automated policy, no prune on sync of
|
|
# durable objects (PVCs carry argocd.argoproj.io/sync-options: Prune=false,Delete=false).
|
|
# World0: never add the resources-finalizer.argocd.argoproj.io finalizer (deleting
|
|
# the Application must orphan, not cascade), never add an automated policy, and never
|
|
# list this Application in a parent app-of-apps with prune. The admission policy
|
|
# also denies deleting this Application without break-glass.
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: aevolution-world0
|
|
namespace: argocd
|
|
spec:
|
|
project: aevolution-world0
|
|
source:
|
|
repoURL: https://git.aeternalisgames.com/dingo/AEvolution.git
|
|
targetRevision: main
|
|
path: REPLACE_WORKLOAD_PATH
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: evolution-world0
|
|
syncPolicy:
|
|
syncOptions:
|
|
- FailOnSharedResource=true
|
|
- PruneLast=true
|