From e2d726e8e28dfb4e92d65581a8db0b1ed12759dd Mon Sep 17 00:00:00 2001 From: Quentin Campos Date: Wed, 22 Apr 2026 09:33:32 +0200 Subject: [PATCH] :bird: Use tailscape expose --- system/tailscale/argocd-expose.yaml | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/system/tailscale/argocd-expose.yaml b/system/tailscale/argocd-expose.yaml index 6968539..6bdd8ae 100644 --- a/system/tailscale/argocd-expose.yaml +++ b/system/tailscale/argocd-expose.yaml @@ -1,16 +1,15 @@ -apiVersion: v1 -kind: Service +apiVersion: networking.k8s.io/v1 +kind: Ingress metadata: - name: argocd-server-tailscale + name: argocd-tailscale namespace: argocd - annotations: - tailscale.com/expose: "true" - tailscale.com/hostname: "argocd" spec: - type: LoadBalancer - selector: - app.kubernetes.io/name: argocd-server - ports: - - name: https - port: 443 - targetPort: 8080 \ No newline at end of file + defaultBackend: + service: + name: argocd-server + port: + number: 80 + ingressClassName: tailscale + tls: + - hosts: + - argocd-server