Skip to content

Commit

Permalink
Merge pull request openservicemesh#3644 from nojnhuh/host-headers
Browse files Browse the repository at this point in the history
fix(demo): remove host headers in SMI policies
  • Loading branch information
nojnhuh authored Jun 23, 2021
2 parents 60203db + 9d9d893 commit 3d2ec16
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions demo/deploy-traffic-specs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,4 @@ spec:
- name: restock-books
methods:
- POST
headers:
- host: "bookwarehouse.$BOOKWAREHOUSE_NAMESPACE"
EOF
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,9 @@ spec:
methods:
- GET
headers:
- host: "bookstore.bookstore"
- "user-agent": ".*-http-client/*.*"
- "client-app": "bookbuyer"
- name: buy-a-book
pathRegex: ".*a-book.*new"
methods:
- GET
headers:
- host: "bookstore.bookstore"
3 changes: 0 additions & 3 deletions docs/example/manifests/access/traffic-access-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,9 @@ spec:
methods:
- GET
headers:
- host: "bookstore.bookstore"
- "user-agent": ".*-http-client/*.*"
- "client-app": "bookbuyer"
- name: buy-a-book
pathRegex: ".*a-book.*new"
methods:
- GET
headers:
- host: "bookstore.bookstore"

0 comments on commit 3d2ec16

Please sign in to comment.