Copy/paste.
This commit is contained in:
26
1-example/application.yaml
Normal file
26
1-example/application.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: my-app
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://github.com/antonputra/lesson-158.git
|
||||
targetRevision: HEAD
|
||||
path: my-app
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
allowEmpty: false
|
||||
syncOptions:
|
||||
- Validate=true
|
||||
- CreateNamespace=false
|
||||
- PrunePropagationPolicy=foreground
|
||||
- PruneLast=true
|
||||
Reference in New Issue
Block a user