move routes to authentik-private-prod for proxy auth

This commit is contained in:
2026-02-05 10:28:47 -07:00
parent 84c8a8b6b6
commit 59bda86be9
7 changed files with 4 additions and 60 deletions

View File

@@ -1,15 +0,0 @@
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: web-https-v4
spec:
rules:
- backendRefs:
- group: ""
kind: Service
name: web
port: 80
matches:
- path:
type: PathPrefix
value: /

View File

@@ -1,20 +0,0 @@
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: web-https
spec:
parentRefs:
- group: gateway.networking.k8s.io
kind: Gateway
name: web-gw
sectionName: https
rules:
- backendRefs:
- group: ""
kind: Service
name: web
port: 80
matches:
- path:
type: PathPrefix
value: /

View File

@@ -4,8 +4,6 @@ kind: Kustomization
resources: resources:
- gateway/routes/http.yaml - gateway/routes/http.yaml
- gateway/routes/http-v4.yaml - gateway/routes/http-v4.yaml
- gateway/routes/https.yaml
- gateway/routes/https-v4.yaml
- gateway/gateway.yaml - gateway/gateway.yaml
- gateway/issuer.yaml - gateway/issuer.yaml
- gateway/referencegrant.yaml - gateway/referencegrant.yaml

View File

@@ -19,7 +19,10 @@ spec:
protocol: HTTPS protocol: HTTPS
allowedRoutes: allowedRoutes:
namespaces: namespaces:
from: Same from: Selector
selector:
matchLabels:
kubernetes.io/metadata.name: authentik-private-prod
tls: tls:
mode: Terminate mode: Terminate
certificateRefs: certificateRefs:

View File

@@ -1,13 +0,0 @@
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: web-https-v4
spec:
hostnames:
- stage.d-b.ca
parentRefs:
- group: gateway.networking.k8s.io
kind: Gateway
name: v4-gw
namespace: gateway-prod
sectionName: dbca-web-stage-https

View File

@@ -1,7 +0,0 @@
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: web-https
spec:
hostnames:
- stage.d-b.ca

View File

@@ -7,8 +7,6 @@ resources:
patches: patches:
- path: gateway/routes/http.yaml - path: gateway/routes/http.yaml
- path: gateway/routes/http-v4.yaml - path: gateway/routes/http-v4.yaml
- path: gateway/routes/https.yaml
- path: gateway/routes/https-v4.yaml
- path: gateway/gateway.yaml - path: gateway/gateway.yaml
- path: gateway/issuer.yaml - path: gateway/issuer.yaml
- path: web/web-backend-tls.yaml - path: web/web-backend-tls.yaml