ce7cb702218693d08ea6d83464d2457c9250027c
This commit is contained in:
commit
34c5f8963c
1 changed files with 145336 additions and 0 deletions
19
vendor/workloads/short-canary/routes.yaml
vendored
Normal file
19
vendor/workloads/short-canary/routes.yaml
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata: {name: redirect, namespace: short}
|
||||
spec:
|
||||
parentRefs: [{name: gateway-short, namespace: kube-system, sectionName: http}]
|
||||
hostnames: [nlb-canary.quorate.dev]
|
||||
rules:
|
||||
- filters:
|
||||
- type: RequestRedirect
|
||||
requestRedirect: {scheme: https, statusCode: 301}
|
||||
---
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata: {name: canary, namespace: short}
|
||||
spec:
|
||||
parentRefs: [{name: gateway-short, namespace: kube-system, sectionName: https}]
|
||||
hostnames: [nlb-canary.quorate.dev]
|
||||
rules:
|
||||
- backendRefs: [{name: canary, port: 80}]
|
||||
Loading…
Reference in a new issue