Add M8.2 environment isolation and World0 protection
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>
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: evolution-world0
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- ../base
|
||||
patches:
|
||||
- target:
|
||||
kind: ResourceQuota
|
||||
name: aevolution-quota
|
||||
patch: |-
|
||||
- op: replace
|
||||
path: /spec/hard/requests.cpu
|
||||
value: "4"
|
||||
- op: replace
|
||||
path: /spec/hard/requests.memory
|
||||
value: 4Gi
|
||||
- op: replace
|
||||
path: /spec/hard/limits.memory
|
||||
value: 8Gi
|
||||
- op: replace
|
||||
path: /spec/hard/persistentvolumeclaims
|
||||
value: "8"
|
||||
- op: replace
|
||||
path: /spec/hard/requests.storage
|
||||
value: 200Gi
|
||||
labels:
|
||||
- pairs:
|
||||
aevolution.io/environment: world0
|
||||
Reference in New Issue
Block a user