Files
demo-vivek-11/deploy/argocd/application.yaml
Jonathan Boniface bddd387bab Deliver the lab from manifests rendered from score-lab.yaml
deploy/lab is rendered by score-k8s with the platform's provisioners and replaces the
hand-written deploy/manifests. The lab build workflow now renders and commits it after the build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 12:53:21 +01:00

26 lines
897 B
YAML

# Lives on the HUB, in team demo's namespace. Destination-based mapping routes it to the spoke named
# by destination.name, where it keeps this namespace (team-demo) rather than moving to argocd.
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: demo-vivek-11
namespace: team-demo
spec:
# Created by the platform (argocd-principal teams). Allows deploying only to demo-* on the spoke.
project: team-demo
source:
repoURL: https://gitea.kyndemo.live/validate/demo-vivek-11.git
targetRevision: main
path: deploy/lab
destination:
# The agent to deploy to -- under destination-based mapping this IS the routing key. Never
# server: https://kubernetes.default.svc resolves to the hub itself.
name: apps-lab
namespace: demo-vivek-11
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true