Skip to content

Commit

Permalink
update docs to reflect recent bookinfo changes (istio#585)
Browse files Browse the repository at this point in the history
  • Loading branch information
krancour authored and hklai committed Jul 17, 2018
1 parent f473397 commit 6a128c5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions networking/v1alpha3/istio.networking.v1alpha3.pb.html
Original file line number Diff line number Diff line change
Expand Up @@ -1394,8 +1394,8 @@ <h2 id="HTTPMatchRequest">HTTPMatchRequest</h2>
<p>HttpMatchRequest specifies a set of criterion to be met in order for the
rule to be applied to the HTTP request. For example, the following
restricts the rule to match only requests where the URL path
starts with /ratings/v2/ and the request contains a <code>cookie</code> with value
<code>user=jason</code>.</p>
starts with /ratings/v2/ and the request contains a custom <code>end-user</code> header
with value <code>jason</code>.</p>

<pre><code class="language-yaml">apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
Expand All @@ -1407,8 +1407,8 @@ <h2 id="HTTPMatchRequest">HTTPMatchRequest</h2>
http:
- match:
- headers:
cookie:
regex: &quot;^(.*?;)?(user=jason)(;.*)?&quot;
end-user:
exact: jason
uri:
prefix: &quot;/ratings/v2/&quot;
route:
Expand Down
8 changes: 4 additions & 4 deletions networking/v1alpha3/virtual_service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions networking/v1alpha3/virtual_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -480,8 +480,8 @@ message TCPRoute {
// HttpMatchRequest specifies a set of criterion to be met in order for the
// rule to be applied to the HTTP request. For example, the following
// restricts the rule to match only requests where the URL path
// starts with /ratings/v2/ and the request contains a `cookie` with value
// `user=jason`.
// starts with /ratings/v2/ and the request contains a custom `end-user` header
// with value `jason`.
//
// ```yaml
// apiVersion: networking.istio.io/v1alpha3
Expand All @@ -494,8 +494,8 @@ message TCPRoute {
// http:
// - match:
// - headers:
// cookie:
// regex: "^(.*?;)?(user=jason)(;.*)?"
// end-user:
// exact: jason
// uri:
// prefix: "/ratings/v2/"
// route:
Expand Down

0 comments on commit 6a128c5

Please sign in to comment.