This commit is contained in:
soukainna 2023-07-24 11:47:53 +02:00
parent dd48c9c8d0
commit 80d1bc8151
2 changed files with 3 additions and 26 deletions

View File

@ -1,15 +1,15 @@
apiVersion: argoproj.io/v1alpha1 apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
metadata: metadata:
name: app-agenda name: my-app
namespace: argocd namespace: argocd
spec: spec:
project: default project: default
source: source:
repoURL: https://github.com/soukainna/kubeArgocdTesting repoURL: https://git.coopgo.io/soukaina/Argocd-test
targetRevision: HEAD targetRevision: HEAD
path: /home/soukaina/test/Argocd-test/test path: test
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
namespace: argocd-test namespace: argocd-test

View File

@ -1,23 +0,0 @@
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