ai-code-battle/deploy/k8s/sealed-secrets/api-key.yaml
jedarden 259b9de86a Add Kubernetes manifests for ArgoCD GitOps deployment
Create deploy/k8s/ directory with complete K8s manifests for the
ai-code-battle namespace on apexalgo-iad cluster:

- Namespace and ArgoCD Application (auto-sync, prune, self-heal)
- Match worker Deployment (2 replicas, metrics on :9090)
- Index builder Deployment (Recreate strategy)
- 6 strategy bot Deployments (random, gatherer, rusher, guardian, swarm, hunter)
- ClusterIP Services for all bots (cluster DNS resolution)
- SealedSecret templates (API key, R2 creds, bot secrets, Cloudflare token)
- All containers from forgejo.ardenone.com/ai-code-battle/ registry
- Health/readiness probes and resource limits on all deployments

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 00:57:48 -04:00

18 lines
497 B
YAML

# SealedSecret template — replace with actual sealed values via kubeseal
# Source secret keys:
# api-endpoint: Worker API endpoint URL
# api-key: Worker API authentication key
apiVersion: bitnami.com/v1alpha1
kind: SealedSecret
metadata:
name: acb-api-key
namespace: ai-code-battle
spec:
encryptedData:
api-endpoint: REPLACE_WITH_SEALED_VALUE
api-key: REPLACE_WITH_SEALED_VALUE
template:
metadata:
name: acb-api-key
namespace: ai-code-battle
type: Opaque