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