remove BackendTLSPolicy
- Cilium Gateway doesn't support TLS backends yet.
This commit is contained in:
@@ -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: ""
|
|
||||||
@@ -8,7 +8,7 @@ spec:
|
|||||||
- group: ""
|
- group: ""
|
||||||
kind: Service
|
kind: Service
|
||||||
name: web
|
name: web
|
||||||
port: 443
|
port: 80
|
||||||
matches:
|
matches:
|
||||||
- path:
|
- path:
|
||||||
type: PathPrefix
|
type: PathPrefix
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ spec:
|
|||||||
- group: ""
|
- group: ""
|
||||||
kind: Service
|
kind: Service
|
||||||
name: web
|
name: web
|
||||||
port: 443
|
port: 80
|
||||||
matches:
|
matches:
|
||||||
- path:
|
- path:
|
||||||
type: PathPrefix
|
type: PathPrefix
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ resources:
|
|||||||
- gateway/routes/http-v4.yaml
|
- gateway/routes/http-v4.yaml
|
||||||
- gateway/routes/https.yaml
|
- gateway/routes/https.yaml
|
||||||
- gateway/routes/https-v4.yaml
|
- gateway/routes/https-v4.yaml
|
||||||
- gateway/backendtlspolicy.yaml
|
|
||||||
- gateway/gateway.yaml
|
- gateway/gateway.yaml
|
||||||
- gateway/issuer.yaml
|
- gateway/issuer.yaml
|
||||||
- gateway/referencegrant.yaml
|
- gateway/referencegrant.yaml
|
||||||
|
|||||||
@@ -23,6 +23,9 @@ spec:
|
|||||||
limits:
|
limits:
|
||||||
memory: 512Mi
|
memory: 512Mi
|
||||||
ports:
|
ports:
|
||||||
|
- containerPort: 80
|
||||||
|
protocol: TCP
|
||||||
|
name: http
|
||||||
- containerPort: 443
|
- containerPort: 443
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: https
|
name: https
|
||||||
|
|||||||
@@ -4,6 +4,10 @@ metadata:
|
|||||||
name: web
|
name: web
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
|
- name: http
|
||||||
|
port: 80
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: 80
|
||||||
- name: https
|
- name: https
|
||||||
port: 443
|
port: 443
|
||||||
protocol: TCP
|
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
|
|
||||||
@@ -3,14 +3,12 @@ kind: Kustomization
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
- ../../base
|
- ../../base
|
||||||
- namespace.yaml
|
|
||||||
|
|
||||||
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.yaml
|
||||||
- path: gateway/routes/https-v4.yaml
|
- path: gateway/routes/https-v4.yaml
|
||||||
- path: gateway/backendtlspolicy.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
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: dbca-web-stage
|
|
||||||
labels:
|
|
||||||
brds.ca/localca: enabled
|
|
||||||
Reference in New Issue
Block a user