no https section on dev cluster
This commit is contained in:
@@ -16,31 +16,3 @@ spec:
|
|||||||
allowedRoutes:
|
allowedRoutes:
|
||||||
namespaces:
|
namespaces:
|
||||||
from: All
|
from: All
|
||||||
- hostname: ontime-k8s-dev.jwetzell.com
|
|
||||||
name: https
|
|
||||||
port: 443
|
|
||||||
protocol: HTTPS
|
|
||||||
allowedRoutes:
|
|
||||||
namespaces:
|
|
||||||
from: All
|
|
||||||
tls:
|
|
||||||
mode: Terminate
|
|
||||||
certificateRefs:
|
|
||||||
- name: ontime-k8s-dev.jwetzell.com-tls
|
|
||||||
---
|
|
||||||
apiVersion: gateway.networking.k8s.io/v1
|
|
||||||
kind: HTTPRoute
|
|
||||||
metadata:
|
|
||||||
name: http-filter-redirect
|
|
||||||
namespace: kube-system
|
|
||||||
spec:
|
|
||||||
parentRefs:
|
|
||||||
- name: ontime-dev
|
|
||||||
sectionName: http
|
|
||||||
namespace: kube-system
|
|
||||||
rules:
|
|
||||||
- filters:
|
|
||||||
- type: RequestRedirect
|
|
||||||
requestRedirect:
|
|
||||||
scheme: https
|
|
||||||
statusCode: 301
|
|
||||||
Reference in New Issue
Block a user