From 00ae085718ca3f18b35a1da81eb98f915a9ea33d Mon Sep 17 00:00:00 2001 From: Junwei Zhao Date: Mon, 12 Jan 2026 10:26:13 +1100 Subject: [PATCH] Update ingress for up.junv.cc --- home-apps/ext-up.yaml | 38 +++----------------------------------- 1 file changed, 3 insertions(+), 35 deletions(-) diff --git a/home-apps/ext-up.yaml b/home-apps/ext-up.yaml index b044519..1099d8e 100644 --- a/home-apps/ext-up.yaml +++ b/home-apps/ext-up.yaml @@ -45,39 +45,7 @@ ports: - name: http # Should match Service port name port: 3031 # e.g., 3031 protocol: TCP ---- -# Ingress for public /status/* path (no authentication) -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: up-ingress-status - namespace: home-apps - annotations: - cert-manager.io/cluster-issuer: "letsencrypt-prod" -spec: - ingressClassName: nginx - tls: - - hosts: - - up.junv.cc - secretName: up-tls - rules: - - host: up.junv.cc - http: - paths: - - path: /assets - pathType: Prefix - backend: - service: - name: up - port: - number: 80 - - path: /status - pathType: Prefix - backend: - service: - name: up - port: - number: 80 + --- # Ingress for all other paths (requires authentication) apiVersion: networking.k8s.io/v1 @@ -87,8 +55,8 @@ metadata: namespace: home-apps annotations: cert-manager.io/cluster-issuer: "letsencrypt-prod" - nginx.ingress.kubernetes.io/auth-url: "https://pass.junv.cc/oauth2/auth" - nginx.ingress.kubernetes.io/auth-signin: "https://pass.junv.cc/oauth2/start?rd=https://$host$escaped_request_uri" + # nginx.ingress.kubernetes.io/auth-url: "https://pass.junv.cc/oauth2/auth" + # nginx.ingress.kubernetes.io/auth-signin: "https://pass.junv.cc/oauth2/start?rd=https://$host$escaped_request_uri" # Optional: Proxy settings for specific backends # nginx.ingress.kubernetes.io/proxy-body-size: "100m" # nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"