diff --git a/argocd/application.tpl b/argocd/application.tpl deleted file mode 100644 index e76d534..0000000 --- a/argocd/application.tpl +++ /dev/null @@ -1,17 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - name: foobar - namespace: argocd -spec: - project: default - source: - repoURL: 'git@git.k-space.ee:k-space/kube.git' - path: foobar - targetRevision: HEAD - destination: - server: 'https://kubernetes.default.svc' - namespace: foobar - syncPolicy: - syncOptions: - - CreateNamespace=true diff --git a/argocd/applications/elastic-system.yml b/argocd/applications/elastic-system.yml index 0b07bda..591a6a7 100644 --- a/argocd/applications/elastic-system.yml +++ b/argocd/applications/elastic-system.yml @@ -5,17 +5,16 @@ metadata: namespace: argocd spec: project: default - destination: - server: 'https://kubernetes.default.svc' - namespace: elastic-system - syncPolicy: - automated: {} - syncOptions: - - CreateNamespace=true source: repoURL: 'git@git.k-space.ee:k-space/kube.git' path: elastic-system targetRevision: HEAD + destination: + server: 'https://kubernetes.default.svc' + namespace: elastic-system + syncPolicy: + syncOptions: + - CreateNamespace=true ignoreDifferences: - group: admissionregistration.k8s.io kind: ValidatingWebhookConfiguration