fix nas ingress

This commit is contained in:
Roger Oriol
2026-06-26 18:25:29 +02:00
parent 9f7e34ef78
commit 586e95a57d

View File

@@ -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: