From cd018b7d130fd7818a553f9b661e25b901526df2 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Tue, 14 Feb 2023 01:23:36 +0100 Subject: [PATCH] =?UTF-8?q?argocd!=20=F0=9F=A6=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core-deployments.yaml | 98 ++++++++++++++++++++++++++++++++++++++++++- tests.yaml | 24 ++++++++++- 2 files changed, 120 insertions(+), 2 deletions(-) diff --git a/core-deployments.yaml b/core-deployments.yaml index 8db9032..5ee4c5c 100644 --- a/core-deployments.yaml +++ b/core-deployments.yaml @@ -1,6 +1,35 @@ --- apiVersion: argoproj.io/v1alpha1 kind: Application +metadata: + name: nginx-ingress + namespace: argocd +spec: + project: default + sources: + - repoURL: https://helm.nginx.com/stable + chart: nginx-ingress + targetRevision: 0.16.1 + helm: + releaseName: nginx + valueFiles: + - $values/ingress/values.yaml + - repoURL: https://git.ar21.de/yolokube/core-deployments.git + targetRevision: HEAD + ref: values + destination: + server: https://kubernetes.default.svc + namespace: nginx-ingress + syncPolicy: + syncOptions: + - CreateNamespace=true + + automated: + selfHeal: false + prune: true +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application metadata: name: argocd-ingress namespace: argocd @@ -18,5 +47,72 @@ spec: - CreateNamespace=true automated: - selfHeal: true + selfHeal: false prune: true +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: certbot + namespace: argocd +spec: + project: default + sources: + - chart: cert-manager + repoURL: https://charts.jetstack.io + targetRevision: v1.11.0 + helm: + releaseName: certbot + parameters: + - name: "installCRDs" + value: "true" + - repoURL: https://git.ar21.de/yolokube/core-deployments.git + targetRevision: HEAD + path: certbot + destination: + server: https://kubernetes.default.svc + namespace: cert-manager + syncPolicy: + syncOptions: + - CreateNamespace=true + + automated: + selfHeal: false + prune: true +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: rook + namespace: argocd +spec: + project: default + sources: + - repoURL: https://charts.rook.io/release + chart: rook-ceph + targetRevision: 1.10.11 + helm: + releaseName: rook-ceph + - repoURL: https://charts.rook.io/release + chart: rook-ceph-cluster + targetRevision: 1.10.11 + helm: + releaseName: rook-ceph-cluster + valueFiles: + - $values/storage/values.yaml + - repoURL: https://git.ar21.de/yolokube/core-deployments.git + targetRevision: HEAD + ref: values + - repoURL: https://git.ar21.de/yolokube/core-deployments.git + targetRevision: HEAD + path: storage + destination: + server: https://kubernetes.default.svc + namespace: rook-ceph + syncPolicy: + syncOptions: + - CreateNamespace=true + + automated: + selfHeal: false + prune: true \ No newline at end of file diff --git a/tests.yaml b/tests.yaml index 9fa87d0..739b2e6 100644 --- a/tests.yaml +++ b/tests.yaml @@ -18,5 +18,27 @@ spec: - CreateNamespace=true automated: - selfHeal: true + selfHeal: false + prune: true +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: egress-test + namespace: argocd +spec: + project: default + source: + repoURL: https://git.ar21.de/aaron/egress-test-deployment.git + targetRevision: HEAD + path: ressources + destination: + server: https://kubernetes.default.svc + namespace: egress-test + syncPolicy: + syncOptions: + - CreateNamespace=true + + automated: + selfHeal: false prune: true