74dd054a36
Adds complete k8s manifests, ArgoCD app, and Terraform namespace resources for the Neuron swarm self-improvement loop system. Each variant (alpha, beta, gamma) gets its own isolated namespace, PVC, MCP/REST deployments, ExternalSecrets from Vault, RBAC for CI, and a SQLite clone Job template for session startup.
53 lines
1.3 KiB
YAML
53 lines
1.3 KiB
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: neuron-swarm
|
|
namespace: argocd
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: http://10.43.1.53:3000/will/infrastructure.git
|
|
targetRevision: main
|
|
path: servers/legion/k8s/neuron-technologies/swarm
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
# No single namespace — resources span swarm-alpha/beta/gamma.
|
|
# Each resource declares its own namespace.
|
|
namespace: swarm-alpha
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
# Don't track Jobs created dynamically by swarm.sh
|
|
ignoreDifferences:
|
|
- group: batch
|
|
kind: Job
|
|
namespace: swarm-alpha
|
|
jsonPointers: [""]
|
|
- group: batch
|
|
kind: Job
|
|
namespace: swarm-beta
|
|
jsonPointers: [""]
|
|
- group: batch
|
|
kind: Job
|
|
namespace: swarm-gamma
|
|
jsonPointers: [""]
|
|
# Session ConfigMaps are created/deleted by swarm.sh — ignore drift
|
|
- group: ""
|
|
kind: ConfigMap
|
|
name: swarm-alpha-session
|
|
namespace: swarm-alpha
|
|
jsonPointers: [""]
|
|
- group: ""
|
|
kind: ConfigMap
|
|
name: swarm-beta-session
|
|
namespace: swarm-beta
|
|
jsonPointers: [""]
|
|
- group: ""
|
|
kind: ConfigMap
|
|
name: swarm-gamma-session
|
|
namespace: swarm-gamma
|
|
jsonPointers: [""]
|