Files

53 lines
1.4 KiB
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: neuron-swarm
namespace: argocd
spec:
project: default
source:
repoURL: https://git.neuralplatform.ai/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: [""]