fix nas ingress
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user