- Traefik IngressRoute for api.aicodebattle.com with CORS, security headers, and rate limiting (100 req/min) - cert-manager Certificate (Let's Encrypt prod, ECDSA P-256) - Argo Events webhook EventSource + Sensor (triggers on master push) - Argo Workflows: parallel Kaniko builds for all 10 container images plus web SPA site build, with layer caching - CI ServiceAccount + RBAC for workflow execution - Registry credentials SealedSecret template Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
19 lines
401 B
YAML
19 lines
401 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: EventSource
|
|
metadata:
|
|
name: acb-webhook
|
|
namespace: ai-code-battle
|
|
labels:
|
|
app.kubernetes.io/name: acb-webhook
|
|
app.kubernetes.io/part-of: ai-code-battle
|
|
app.kubernetes.io/component: ci
|
|
spec:
|
|
service:
|
|
ports:
|
|
- port: 12000
|
|
targetPort: 12000
|
|
webhook:
|
|
acb-push:
|
|
port: "12000"
|
|
endpoint: /push
|
|
method: POST
|