2023-07-10 09:05:12 +00:00
|
|
|
apiVersion: argoproj.io/v1alpha1
|
|
|
|
kind: Application
|
|
|
|
metadata:
|
2023-07-24 09:47:53 +00:00
|
|
|
name: my-app
|
2023-07-10 09:05:12 +00:00
|
|
|
namespace: argocd
|
|
|
|
spec:
|
|
|
|
project: default
|
|
|
|
|
|
|
|
source:
|
2023-07-24 09:47:53 +00:00
|
|
|
repoURL: https://git.coopgo.io/soukaina/Argocd-test
|
2023-07-10 09:05:12 +00:00
|
|
|
targetRevision: HEAD
|
2023-07-24 09:49:19 +00:00
|
|
|
path: .
|
2023-07-10 09:05:12 +00:00
|
|
|
destination:
|
|
|
|
server: https://kubernetes.default.svc
|
2023-07-24 09:15:30 +00:00
|
|
|
namespace: argocd-test
|
2023-07-10 09:05:12 +00:00
|
|
|
|
|
|
|
syncPolicy:
|
|
|
|
syncOptions:
|
|
|
|
- CreateNamespace=true
|
|
|
|
|
|
|
|
automated:
|
|
|
|
selfHeal: true
|
|
|
|
prune: true
|