Deliver the platform layer and store Jobs through Argo CD
At the maintainer's request everything but Secrets and the store node label now goes through Argo CD. aevolution-platform syncs one bundle (World0 admission policy, Retain storage class, each environment's namespace, guardrails, service accounts and object claim) with self-heal, no prune and Prune=false,Delete=false on every object; the admission policy also protects the platform app and project. Store Jobs become kustomize components used as PreSync (migrate) and PostSync (check-store) hooks per environment, and the policy check refuses any unresolved marker in a path an Application syncs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
# M8.2/M8.3 platform project (ADR-0069 amendment). Bootstrap once by hand; Argo CD
|
||||
# cannot create its own first project: kubectl apply -f deploy/argocd/platform/
|
||||
# Only the three AEvolution namespaces, and only the cluster kinds the platform
|
||||
# layer owns. Workload projects (aevolution-dev/-stage/-world0) stay separate.
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: AppProject
|
||||
metadata:
|
||||
name: aevolution-platform
|
||||
namespace: argocd
|
||||
spec:
|
||||
description: AEvolution platform layer (namespaces, guardrails, storage, World0 protection)
|
||||
sourceRepos:
|
||||
- https://git.aeternalisgames.com/dingo/AEvolution.git
|
||||
destinations:
|
||||
- server: https://kubernetes.default.svc
|
||||
namespace: evolution-dev
|
||||
- server: https://kubernetes.default.svc
|
||||
namespace: evolution-stage
|
||||
- server: https://kubernetes.default.svc
|
||||
namespace: evolution-world0
|
||||
clusterResourceWhitelist:
|
||||
- {group: "", kind: Namespace}
|
||||
- {group: storage.k8s.io, kind: StorageClass}
|
||||
- {group: admissionregistration.k8s.io, kind: ValidatingAdmissionPolicy}
|
||||
- {group: admissionregistration.k8s.io, kind: ValidatingAdmissionPolicyBinding}
|
||||
namespaceResourceWhitelist:
|
||||
- {group: "", kind: ResourceQuota}
|
||||
- {group: "", kind: LimitRange}
|
||||
- {group: "", kind: ServiceAccount}
|
||||
- {group: "", kind: PersistentVolumeClaim}
|
||||
- {group: networking.k8s.io, kind: NetworkPolicy}
|
||||
orphanedResources:
|
||||
warn: true
|
||||
Reference in New Issue
Block a user