ArgoCD Deployment
This commit is contained in:
22
deploy/argocd/application.yaml
Normal file
22
deploy/argocd/application.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
# Lives on the HUB, in the agent's namespace. The argocd-agent pushes it to the spoke.
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: demo-vivek-11
|
||||
namespace: apps-lab
|
||||
spec:
|
||||
project: apps-lab
|
||||
source:
|
||||
repoURL: https://gitea.kyndemo.live/validate/demo-vivek-11.git
|
||||
targetRevision: main
|
||||
path: deploy/manifests
|
||||
destination:
|
||||
# name, never server: 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
|
||||
Reference in New Issue
Block a user