26 lines
903 B
YAML
26 lines
903 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/manifests
|
|
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
|