redesign fully scaffolded and web login works
This commit is contained in:
27
deploy/k8s/dev/gateway-ingress-patch.yaml
Normal file
27
deploy/k8s/dev/gateway-ingress-patch.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: gateway-ingress
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/rewrite-target: /$1
|
||||
# Enable WebSocket support
|
||||
nginx.ingress.kubernetes.io/websocket-services: gateway
|
||||
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
|
||||
nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
# Remove TLS for dev
|
||||
tls: []
|
||||
rules:
|
||||
- host: dexorder.local
|
||||
http:
|
||||
paths:
|
||||
# Gateway API routes - strip /api prefix
|
||||
- path: /api/(.*)
|
||||
pathType: ImplementationSpecific
|
||||
backend:
|
||||
service:
|
||||
name: gateway
|
||||
port:
|
||||
number: 3000
|
||||
Reference in New Issue
Block a user