add yaml
This commit is contained in:
23
application.yaml
Normal file
23
application.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: myapp-argo-application
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
|
||||
source:
|
||||
repoURL: https://github.com/yangchuansheng/argocd-lab.git
|
||||
targetRevision: HEAD
|
||||
path: dev
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: myapp
|
||||
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
|
||||
automated:
|
||||
selfHeal: true
|
||||
prune: true
|
Reference in New Issue
Block a user