23 lines
453 B
YAML
23 lines
453 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: prod-app
|
|
namespace: argocd
|
|
spec:
|
|
project: default
|
|
|
|
source:
|
|
repoURL: https://git.coopgo.io/soukaina/Argocd-test/src/branch/main/prod
|
|
targetRevision: HEAD
|
|
#path: agenda
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: argocd-test
|
|
|
|
syncPolicy:
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
|
|
automated:
|
|
selfHeal: true
|
|
prune: true |