From 1ecc6bf920eb536ae397fcb819d31cd038b96113 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Sun, 4 Apr 2021 18:51:59 +0100 Subject: [PATCH] Added ArgoCD proxy --- manifests/_apps/argocd.yaml | 24 ++++++++++++++++++++++++ manifests/argocd/argocd.yaml | 25 +++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 manifests/_apps/argocd.yaml create mode 100644 manifests/argocd/argocd.yaml diff --git a/manifests/_apps/argocd.yaml b/manifests/_apps/argocd.yaml new file mode 100644 index 0000000..1e8bce1 --- /dev/null +++ b/manifests/_apps/argocd.yaml @@ -0,0 +1,24 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: argocd + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: cluster.fun + destination: + namespace: inlets + name: cluster-fun (scaleway) + source: + path: manifests/argocd + 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/argocd/argocd.yaml b/manifests/argocd/argocd.yaml new file mode 100644 index 0000000..86f83ad --- /dev/null +++ b/manifests/argocd/argocd.yaml @@ -0,0 +1,25 @@ +apiVersion: extensions/v1beta1 +kind: Ingress +metadata: + name: argo + namespace: inlets + labels: + app: argo + annotations: + cert-manager.io/cluster-issuer: letsencrypt + traefik.ingress.kubernetes.io/frontend-entry-points: http,https + traefik.ingress.kubernetes.io/redirect-entry-point: https + traefik.ingress.kubernetes.io/redirect-permanent: "true" +spec: + tls: + - hosts: + - argo.cluster.fun + secretName: argo-ingress + rules: + - host: argo.cluster.fun + http: + paths: + - path: / + backend: + serviceName: auth-proxy + servicePort: 80