Compare commits
4 Commits
d716c4bb6d
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
59bda86be9
|
|||
| 84c8a8b6b6 | |||
|
d31a196d87
|
|||
| b8d41e95e4 |
@@ -1,14 +0,0 @@
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: BackendTLSPolicy
|
||||
metadata:
|
||||
name: web-gw
|
||||
spec:
|
||||
targetRefs:
|
||||
- kind: Service
|
||||
name: web
|
||||
group: ""
|
||||
validation:
|
||||
caCertificateRefs:
|
||||
- kind: ConfigMap
|
||||
name: brds-bundle
|
||||
group: ""
|
||||
@@ -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: 443
|
||||
matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /
|
||||
@@ -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: 443
|
||||
matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /
|
||||
@@ -4,9 +4,6 @@ kind: Kustomization
|
||||
resources:
|
||||
- gateway/routes/http.yaml
|
||||
- gateway/routes/http-v4.yaml
|
||||
- gateway/routes/https.yaml
|
||||
- gateway/routes/https-v4.yaml
|
||||
- gateway/backendtlspolicy.yaml
|
||||
- gateway/gateway.yaml
|
||||
- gateway/issuer.yaml
|
||||
- gateway/referencegrant.yaml
|
||||
|
||||
@@ -23,6 +23,9 @@ spec:
|
||||
limits:
|
||||
memory: 512Mi
|
||||
ports:
|
||||
- containerPort: 80
|
||||
protocol: TCP
|
||||
name: http
|
||||
- containerPort: 443
|
||||
protocol: TCP
|
||||
name: https
|
||||
|
||||
@@ -4,6 +4,10 @@ metadata:
|
||||
name: web
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
protocol: TCP
|
||||
targetPort: 80
|
||||
- name: https
|
||||
port: 443
|
||||
protocol: TCP
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: BackendTLSPolicy
|
||||
metadata:
|
||||
name: web-gw
|
||||
spec:
|
||||
validation:
|
||||
hostname: stage.d-b.ca
|
||||
subjectAltNames:
|
||||
- type: Hostname
|
||||
hostname: stage.d-b.ca
|
||||
@@ -19,7 +19,10 @@ spec:
|
||||
protocol: HTTPS
|
||||
allowedRoutes:
|
||||
namespaces:
|
||||
from: Same
|
||||
from: Selector
|
||||
selector:
|
||||
matchLabels:
|
||||
kubernetes.io/metadata.name: authentik-private-prod
|
||||
tls:
|
||||
mode: Terminate
|
||||
certificateRefs:
|
||||
|
||||
@@ -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
|
||||
@@ -1,7 +0,0 @@
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: web-https
|
||||
spec:
|
||||
hostnames:
|
||||
- stage.d-b.ca
|
||||
@@ -3,14 +3,10 @@ kind: Kustomization
|
||||
|
||||
resources:
|
||||
- ../../base
|
||||
- namespace.yaml
|
||||
|
||||
patches:
|
||||
- path: gateway/routes/http.yaml
|
||||
- path: gateway/routes/http-v4.yaml
|
||||
- path: gateway/routes/https.yaml
|
||||
- path: gateway/routes/https-v4.yaml
|
||||
- path: gateway/backendtlspolicy.yaml
|
||||
- path: gateway/gateway.yaml
|
||||
- path: gateway/issuer.yaml
|
||||
- path: web/web-backend-tls.yaml
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: dbca-web-stage
|
||||
labels:
|
||||
brds.ca/localca: enabled
|
||||
@@ -7,4 +7,4 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: web
|
||||
image: core.harbor.brds.ca/d-b.ca/web:aaf6031c58a8f07df0d98877ae71ffbbbb0ee350
|
||||
image: core.harbor.brds.ca/d-b.ca/web:3e53b359389830203b11a3cc9d2f7e63083246f4
|
||||
|
||||
Reference in New Issue
Block a user