forked from openservicemesh/osm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(demo): remove host headers in SMI policies
The `:authority` header sent by the bookbuyer to the bookstore is actually `bookstore.bookstore:14001` where the bookstore's HTTPRouteGroup used in the manual demo specified a `host` header match of `bookstore.bookstore`, resulting in "response_code_details": "route_not_found" in the bookstore's logs for requests from the bookbuyer. This change removes the `host` header matches all of the demo manifests. Fixes openservicemesh#3616 Signed-off-by: Jon Huhn <[email protected]>
- Loading branch information
Showing
3 changed files
with
0 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,6 +44,4 @@ spec: | |
- name: restock-books | ||
methods: | ||
- POST | ||
headers: | ||
- host: "bookwarehouse.$BOOKWAREHOUSE_NAMESPACE" | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters