Files
aevolution/deploy/kubernetes/platform/base/serviceaccounts.yaml
T
dingoandClaude Opus 5.5 df0c4f4efb 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>
2026-09-29 12:43:58 -04:00

27 lines
836 B
YAML

# One identity per role; none needs the Kubernetes API, so none mounts a token and
# no Role or RoleBinding is granted. Secrets are referenced by name only and are
# created per environment by an operator (ENVIRONMENTS.md); they never enter Git.
apiVersion: v1
kind: ServiceAccount
metadata:
name: aevolution-migrator # Runs migrations with the migrator database login.
automountServiceAccountToken: false
imagePullSecrets:
- name: harbor-pull
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: aevolution-region # evo-server with the runtime database login.
automountServiceAccountToken: false
imagePullSecrets:
- name: harbor-pull
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: aevolution-backup # Read-only backup/clone jobs (M8.7).
automountServiceAccountToken: false
imagePullSecrets:
- name: harbor-pull