fix nas ingress
This commit is contained in:
@@ -9,13 +9,28 @@ metadata:
|
|||||||
name: synology-nas
|
name: synology-nas
|
||||||
namespace: nas-proxy
|
namespace: nas-proxy
|
||||||
spec:
|
spec:
|
||||||
type: ExternalName
|
# Selector-less Service backed by the manual Endpoints below.
|
||||||
externalName: "10.88.30.10"
|
# (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:
|
ports:
|
||||||
- port: 5001
|
- port: 5001
|
||||||
targetPort: 5001
|
targetPort: 5001
|
||||||
protocol: TCP
|
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
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
|
|||||||
Reference in New Issue
Block a user