Skip to content

Commit

Permalink
Fix non-existent HTTPSRoute (#227)
Browse files Browse the repository at this point in the history
HTTPSRoute does not exist as per [gateway API
docs](https://gateway-api.sigs.k8s.io/spec/#networking.x-k8s.io/v1alpha1.HTTPRoute).
For HTTPS protocol, `HTTPRoute` + `spec.tls` needs to be used.

Signed-off-by: Kenjiro Nakayama <nakayamakenjiro@gmail.com>
  • Loading branch information
nak3 authored Mar 1, 2021
1 parent a5e27ba commit 5aaf14e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/gateway/gateway-nodeport.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
- protocol: HTTPS
port: 443
routes:
kind: HTTPSRoute
kind: HTTPRoute
selector:
matchLabels:
app: kuard
2 changes: 1 addition & 1 deletion examples/gateway/gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ spec:
- protocol: HTTPS
port: 443
routes:
kind: HTTPSRoute
kind: HTTPRoute
selector:
matchLabels:
app: kuard

0 comments on commit 5aaf14e

Please sign in to comment.