From 52a81b166317abbf6450bd1937928c485579f615 Mon Sep 17 00:00:00 2001 From: Jose Henrique Date: Fri, 28 Aug 2026 14:51:00 -0300 Subject: [PATCH] adding argocd final bootstrap --- bootstrap/argocd-install/ingress.yaml | 18 ++++++++++++++++++ bootstrap/argocd-install/kustomization.yaml | 7 +++++++ .../argocd-install/server-insecure-patch.yaml | 6 ++++++ 3 files changed, 31 insertions(+) create mode 100644 bootstrap/argocd-install/ingress.yaml create mode 100644 bootstrap/argocd-install/server-insecure-patch.yaml diff --git a/bootstrap/argocd-install/ingress.yaml b/bootstrap/argocd-install/ingress.yaml new file mode 100644 index 0000000..013f391 --- /dev/null +++ b/bootstrap/argocd-install/ingress.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: argocd-server + namespace: argocd +spec: + ingressClassName: nginx + rules: + - host: argocd.haven + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: argocd-server + port: + number: 80 diff --git a/bootstrap/argocd-install/kustomization.yaml b/bootstrap/argocd-install/kustomization.yaml index 5253db8..66f9ed0 100644 --- a/bootstrap/argocd-install/kustomization.yaml +++ b/bootstrap/argocd-install/kustomization.yaml @@ -5,3 +5,10 @@ namespace: argocd resources: - https://github.com/argoproj/argo-cd.git/manifests/cluster-install?ref=stable + - ingress.yaml + +# Serve plain HTTP behind the nginx ingress (TLS terminates at nothing — +# internal-only app convention). Applied live via kubectl patch on first +# install; this file keeps git as the source of truth. +patches: + - path: server-insecure-patch.yaml diff --git a/bootstrap/argocd-install/server-insecure-patch.yaml b/bootstrap/argocd-install/server-insecure-patch.yaml new file mode 100644 index 0000000..b9bebea --- /dev/null +++ b/bootstrap/argocd-install/server-insecure-patch.yaml @@ -0,0 +1,6 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: argocd-cmd-params-cm +data: + server.insecure: "true"