23 lines
428 B
YAML
23 lines
428 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: my-app
|
|
namespace: argocd
|
|
spec:
|
|
project: default
|
|
|
|
source:
|
|
repoURL: https://github.com/soukainna/kubeArgocdTesting
|
|
targetRevision: HEAD
|
|
path: .
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: argocd-test
|
|
|
|
syncPolicy:
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
|
|
automated:
|
|
selfHeal: true
|
|
prune: true |