Use implicit mapping for external domains
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
parent
6b9e8d42b7
commit
0e692eaf30
@ -20,9 +20,9 @@ spec:
|
||||
pathType: ImplementationSpecific
|
||||
backend:
|
||||
service:
|
||||
name: auth-proxy-v2
|
||||
name: tailscale-proxy
|
||||
port:
|
||||
name: http
|
||||
name: auth
|
||||
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
|
@ -177,21 +177,3 @@ spec:
|
||||
type: ClusterIP
|
||||
|
||||
---
|
||||
|
||||
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: auth-proxy-v2
|
||||
namespace: auth-proxy
|
||||
labels:
|
||||
app: auth-proxy-v2
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
protocol: TCP
|
||||
targetPort: 8181
|
||||
selector:
|
||||
app: internal-proxy
|
||||
type: ClusterIP
|
||||
|
@ -22,4 +22,4 @@ spec:
|
||||
service:
|
||||
name: tailscale-proxy
|
||||
port:
|
||||
name: http
|
||||
name: non-auth
|
||||
|
@ -13,9 +13,7 @@ data:
|
||||
"loki.auth-proxy.svc": "loki-write.cluster.local",
|
||||
"loki.auth-proxy.svc:80": "loki-write.cluster.local",
|
||||
"loki-distributed.auth-proxy.svc": "loki-loki.cluster.local",
|
||||
"loki-distributed.auth-proxy.svc:80": "loki-loki.cluster.local",
|
||||
"hello-world.cluster.fun": "hello-world.cluster.fun",
|
||||
"hello.cluster.fun": "hello.cluster.fun"
|
||||
"loki-distributed.auth-proxy.svc:80": "loki-loki.cluster.local"
|
||||
}
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
@ -120,10 +118,14 @@ metadata:
|
||||
app: internal-proxy
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
- name: non-auth
|
||||
port: 80
|
||||
protocol: TCP
|
||||
targetPort: 8080
|
||||
- name: auth
|
||||
port: 81
|
||||
protocol: TCP
|
||||
targetPort: 8181
|
||||
selector:
|
||||
app: internal-proxy
|
||||
type: ClusterIP
|
||||
|
Loading…
Reference in New Issue
Block a user