21 lines
401 B
YAML
21 lines
401 B
YAML
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: /
|