From 0b6ab650a2f4b5e0c6e5fbcefb959e6cfcf6526e Mon Sep 17 00:00:00 2001 From: rasmus Date: Sat, 3 Aug 2024 06:17:34 +0300 Subject: [PATCH] argo: add apps (already) in argo to git (config drift) --- argocd/applications/logmower.yaml | 20 ++++++++++++++++++++ argocd/applications/minio-clusters.yaml | 20 ++++++++++++++++++++ argocd/applications/mysql-clusters.yaml | 20 ++++++++++++++++++++ argocd/applications/postgres-clusters.yaml | 20 ++++++++++++++++++++ argocd/applications/redis-clusters.yaml | 20 ++++++++++++++++++++ argocd/applications/reloader.yaml | 20 ++++++++++++++++++++ 6 files changed, 120 insertions(+) create mode 100644 argocd/applications/logmower.yaml create mode 100644 argocd/applications/minio-clusters.yaml create mode 100644 argocd/applications/mysql-clusters.yaml create mode 100644 argocd/applications/postgres-clusters.yaml create mode 100644 argocd/applications/redis-clusters.yaml create mode 100644 argocd/applications/reloader.yaml diff --git a/argocd/applications/logmower.yaml b/argocd/applications/logmower.yaml new file mode 100644 index 0000000..fcb29a5 --- /dev/null +++ b/argocd/applications/logmower.yaml @@ -0,0 +1,20 @@ +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: logmower + namespace: argocd +spec: + project: k-space.ee + source: + repoURL: 'git@git.k-space.ee:k-space/kube.git' + path: logmower + targetRevision: HEAD + destination: + server: 'https://kubernetes.default.svc' + namespace: logmower + syncPolicy: + automated: + prune: true + syncOptions: + - CreateNamespace=true diff --git a/argocd/applications/minio-clusters.yaml b/argocd/applications/minio-clusters.yaml new file mode 100644 index 0000000..9fa6bab --- /dev/null +++ b/argocd/applications/minio-clusters.yaml @@ -0,0 +1,20 @@ +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: minio-clusters + namespace: argocd +spec: + project: k-space.ee + source: + repoURL: 'git@git.k-space.ee:k-space/kube.git' + path: minio-clusters + targetRevision: HEAD + destination: + server: 'https://kubernetes.default.svc' + namespace: minio-clusters + syncPolicy: + automated: + prune: true + syncOptions: + - CreateNamespace=true diff --git a/argocd/applications/mysql-clusters.yaml b/argocd/applications/mysql-clusters.yaml new file mode 100644 index 0000000..fd0fbdd --- /dev/null +++ b/argocd/applications/mysql-clusters.yaml @@ -0,0 +1,20 @@ +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: mysql-clusters + namespace: argocd +spec: + project: k-space.ee + source: + repoURL: 'git@git.k-space.ee:k-space/kube.git' + path: mysql-clusters + targetRevision: HEAD + destination: + server: 'https://kubernetes.default.svc' + namespace: mysql-clusters + syncPolicy: + automated: + prune: true + syncOptions: + - CreateNamespace=true diff --git a/argocd/applications/postgres-clusters.yaml b/argocd/applications/postgres-clusters.yaml new file mode 100644 index 0000000..06b1f7a --- /dev/null +++ b/argocd/applications/postgres-clusters.yaml @@ -0,0 +1,20 @@ +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: postgres-clusters + namespace: argocd +spec: + project: k-space.ee + source: + repoURL: 'git@git.k-space.ee:k-space/kube.git' + path: postgres-clusters + targetRevision: HEAD + destination: + server: 'https://kubernetes.default.svc' + namespace: postgres-clusters + syncPolicy: + automated: + prune: true + syncOptions: + - CreateNamespace=true diff --git a/argocd/applications/redis-clusters.yaml b/argocd/applications/redis-clusters.yaml new file mode 100644 index 0000000..6312c80 --- /dev/null +++ b/argocd/applications/redis-clusters.yaml @@ -0,0 +1,20 @@ +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: redis-clusters + namespace: argocd +spec: + project: k-space.ee + source: + repoURL: 'git@git.k-space.ee:k-space/kube.git' + path: redis-clusters + targetRevision: HEAD + destination: + server: 'https://kubernetes.default.svc' + namespace: redis-clusters + syncPolicy: + automated: + prune: true + syncOptions: + - CreateNamespace=true diff --git a/argocd/applications/reloader.yaml b/argocd/applications/reloader.yaml new file mode 100644 index 0000000..6164475 --- /dev/null +++ b/argocd/applications/reloader.yaml @@ -0,0 +1,20 @@ +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: reloader + namespace: argocd +spec: + project: k-space.ee + source: + repoURL: 'git@git.k-space.ee:k-space/kube.git' + path: reloader + targetRevision: HEAD + destination: + server: 'https://kubernetes.default.svc' + namespace: reloader + syncPolicy: + automated: + prune: true + syncOptions: + - CreateNamespace=true