From ed725001a11512d5d2b7471f691a47c1c2b93138 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Sat, 6 Apr 2024 12:18:52 +0100 Subject: [PATCH] Added first set of apps to new cluster - Blackhole - nginx - cert-manager - tank - auth-proxy Signed-off-by: Marcus Noble --- manifests/_apps/auth-proxy.yaml | 25 ++++++++++++ manifests/_apps/blackhole.yaml | 25 ++++++++++++ manifests/_apps/certmanager_chart.yaml | 53 ++++++++++++++++++++++++++ manifests/_apps/nginx-lb.yaml | 25 ++++++++++++ manifests/_apps/tank.yaml | 29 ++++++++++++++ 5 files changed, 157 insertions(+) diff --git a/manifests/_apps/auth-proxy.yaml b/manifests/_apps/auth-proxy.yaml index 56bf56e..dafcb65 100644 --- a/manifests/_apps/auth-proxy.yaml +++ b/manifests/_apps/auth-proxy.yaml @@ -23,3 +23,28 @@ spec: jsonPointers: - /data --- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: cluster-fun-auth-proxy + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: cluster.fun + destination: + namespace: auth-proxy + name: cluster-fun (v2) + source: + path: manifests/auth-proxy + repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git" + targetRevision: HEAD + syncPolicy: + automated: {} + syncOptions: + - CreateNamespace=true + ignoreDifferences: + - kind: Secret + jsonPointers: + - /data +--- diff --git a/manifests/_apps/blackhole.yaml b/manifests/_apps/blackhole.yaml index bb6c204..7ac84c1 100644 --- a/manifests/_apps/blackhole.yaml +++ b/manifests/_apps/blackhole.yaml @@ -23,3 +23,28 @@ spec: jsonPointers: - /data --- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: cluster-fun-blackhole + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: cluster.fun + destination: + namespace: kube-system + name: cluster-fun (v2) + source: + path: manifests/blackhole + repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git" + targetRevision: HEAD + syncPolicy: + automated: {} + syncOptions: + - CreateNamespace=true + ignoreDifferences: + - kind: Secret + jsonPointers: + - /data +--- diff --git a/manifests/_apps/certmanager_chart.yaml b/manifests/_apps/certmanager_chart.yaml index 9a7d45c..96dbd12 100644 --- a/manifests/_apps/certmanager_chart.yaml +++ b/manifests/_apps/certmanager_chart.yaml @@ -74,3 +74,56 @@ spec: automated: {} --- + +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: cluster-fun-cert-manager-issuer + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: cluster.fun + destination: + namespace: cert-manager + name: cluster-fun (v2) + source: + path: manifests/certmanager_chart + repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git" + targetRevision: HEAD + syncPolicy: + automated: {} + ignoreDifferences: + - kind: Secret + jsonPointers: + - /data +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: cluster-fun-cert-manager-chart + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: cluster.fun + destination: + namespace: cert-manager + name: cluster-fun (v2) + source: + repoURL: 'https://charts.jetstack.io' + targetRevision: 1.11.0 + chart: cert-manager + helm: + version: v3 + values: |- + installCRDs: "true" + resources: + requests: + memory: 32Mi + limits: + memory: 64Mi + syncPolicy: + automated: {} + +--- diff --git a/manifests/_apps/nginx-lb.yaml b/manifests/_apps/nginx-lb.yaml index ad1222d..b4c801b 100644 --- a/manifests/_apps/nginx-lb.yaml +++ b/manifests/_apps/nginx-lb.yaml @@ -23,3 +23,28 @@ spec: jsonPointers: - /data --- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: cluster-fun-nginx-lb + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: cluster.fun + destination: + namespace: kube-system + name: cluster-fun (v2) + source: + path: manifests/nginx-lb + repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git" + targetRevision: HEAD + syncPolicy: + automated: {} + syncOptions: + - CreateNamespace=true + ignoreDifferences: + - kind: Secret + jsonPointers: + - /data +--- diff --git a/manifests/_apps/tank.yaml b/manifests/_apps/tank.yaml index cfc255d..3ed42e1 100644 --- a/manifests/_apps/tank.yaml +++ b/manifests/_apps/tank.yaml @@ -27,3 +27,32 @@ spec: jqPathExpressions: - .spec.template.spec.containers[]?.image --- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: cluster-fun-tank + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: cluster.fun + destination: + namespace: tank + name: cluster-fun (v2) + source: + path: manifests/tank + repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git" + targetRevision: HEAD + syncPolicy: + automated: {} + syncOptions: + - CreateNamespace=true + ignoreDifferences: + - kind: Secret + jsonPointers: + - /data + - group: apps + kind: Deployment + jqPathExpressions: + - .spec.template.spec.containers[]?.image +---