From ae8d03ec03ab6cbbe55715952d1ef12092abd301 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Sat, 17 Sep 2022 08:05:47 +0300 Subject: [PATCH] argocd: Add elastic-system --- argocd/application.tpl | 17 ----------------- argocd/applications/elastic-system.yml | 13 ++++++------- 2 files changed, 6 insertions(+), 24 deletions(-) delete mode 100644 argocd/application.tpl 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