hid copy fn for codeblocks that don't need it

This commit is contained in:
trujillo-adam 2022-04-27 11:34:44 -07:00
parent 195ec096bb
commit ac04a1251f
1 changed files with 6 additions and 0 deletions

View File

@ -98,6 +98,8 @@ Ensure that the following requirements are met prior to upgrading:
If a `namespace` field is not defined in the `backendRef` or if the namespace matches the namespace of the route, then no additional action is required for the `backendRef`. Otherwise, note the `group`, `kind`, `name`, and `namespace` field values for `backendRef` configurations that have a `namespace` defined that do not match the namespace of the parent route. You must also note the `kind` and `namespace` of the parent route. You will need these to create a `ReferencePolicy` that explicitly allows each cross-namespace route-to-service pair to prevent the route from breaking (see [step 5](#create-reference-policy)).
After completing this step, you will have a list of all routes similar to the following:
<CodeBlockConfig hideClipboard>
```yaml
example-http-route:
@ -118,6 +120,7 @@ Ensure that the following requirements are met prior to upgrading:
name: web-backend
namespace: gateway-namespace
```
</CodeBlockConfig>
Skip to [step 8](#step-8) if your list is empty.
<a name="jq-command"/>
@ -132,6 +135,8 @@ Ensure that the following requirements are met prior to upgrading:
The output will resemble the following response if routes that require a new `ReferencePolicy` are returned:
<CodeBlockConfig hideClipboard>
```log
{
"name": "example-http-route",
@ -160,6 +165,7 @@ Ensure that the following requirements are met prior to upgrading:
}
}
```
</CodeBlockConfig>
If your output is empty, skip to [step 8](#step-8).
<a name="create-reference-policy"/>