no https section on dev cluster
This commit is contained in:
@@ -15,32 +15,4 @@ spec:
|
||||
protocol: HTTP
|
||||
allowedRoutes:
|
||||
namespaces:
|
||||
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
|
||||
from: All
|
||||
Reference in New Issue
Block a user