From 586e95a57d170204cd4d1ca102d36944f46ae2eb Mon Sep 17 00:00:00 2001 From: Roger Oriol Date: Fri, 26 Jun 2026 18:25:29 +0200 Subject: [PATCH] fix nas ingress --- nas/ingress.yaml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/nas/ingress.yaml b/nas/ingress.yaml index cd36870..86ec110 100644 --- a/nas/ingress.yaml +++ b/nas/ingress.yaml @@ -9,13 +9,28 @@ metadata: name: synology-nas namespace: nas-proxy spec: - type: ExternalName - externalName: "10.88.30.10" + # Selector-less Service backed by the manual Endpoints below. + # (Traefik rejects ExternalName services by default, so we point a + # normal ClusterIP Service at the NAS IP via an Endpoints object.) + type: ClusterIP + clusterIP: None ports: - port: 5001 targetPort: 5001 protocol: TCP --- +apiVersion: v1 +kind: Endpoints +metadata: + name: synology-nas + namespace: nas-proxy +subsets: +- addresses: + - ip: 10.88.30.10 + ports: + - port: 5001 + protocol: TCP +--- apiVersion: networking.k8s.io/v1 kind: Ingress metadata: