From 3363ccd11567f0fcb89b785fef3fab89597625e7 Mon Sep 17 00:00:00 2001 From: Vojtech Mares Date: Thu, 16 Nov 2023 08:17:23 +0100 Subject: [PATCH] feat: add bootstrap/argo-cd kustomize --- bootstrap/argo-cd/ingress.yaml | 26 ++++++++++++++++++++++++++ bootstrap/argo-cd/kustomization.yaml | 6 ++++++ 2 files changed, 32 insertions(+) create mode 100644 bootstrap/argo-cd/ingress.yaml create mode 100644 bootstrap/argo-cd/kustomization.yaml diff --git a/bootstrap/argo-cd/ingress.yaml b/bootstrap/argo-cd/ingress.yaml new file mode 100644 index 0000000..9e332fd --- /dev/null +++ b/bootstrap/argo-cd/ingress.yaml @@ -0,0 +1,26 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + annotations: + cert-manager.io/cluster-issuer: letsencrypt-prod + nginx.ingress.kubernetes.io/server-snippet: | + proxy_ssl_verify off; + nginx.ingress.kubernetes.io/backend-protocol: "HTTPS" + name: argocd +spec: + ingressClassName: nginx + rules: + - host: argocd.ops.mareshq.com + http: + paths: + - path: / + backend: + service: + name: argocd-server + port: + number: 443 + pathType: Prefix + tls: + - hosts: + - argocd.ops.mareshq.com + secretName: argocd-ingress-tls diff --git a/bootstrap/argo-cd/kustomization.yaml b/bootstrap/argo-cd/kustomization.yaml new file mode 100644 index 0000000..4c23c3d --- /dev/null +++ b/bootstrap/argo-cd/kustomization.yaml @@ -0,0 +1,6 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: argocd +resources: + - github.com/argoproj/argo-cd/manifests/ha/cluster-install?ref=v2.9.1 + - ./ingress.yaml