render issue

pull/13427/head
Sarah Alsmiller 2 years ago
parent 1540b3c5a1
commit 8c757dd0d3

@ -47,7 +47,6 @@ Ensure that the following requirements are met prior to upgrading:
$ kubectl get Gateway --output json --all-namespaces $ kubectl get Gateway --output json --all-namespaces
``` ```
If you have any active `Gateways`, you will receive output similar to the following response. The output has been truncated to show only relevant fields: If you have any active `Gateways`, you will receive output similar to the following response. The output has been truncated to show only relevant fields:
```yaml ```yaml
@ -90,14 +89,16 @@ Ensure that the following requirements are met prior to upgrading:
</CodeBlockConfig> </CodeBlockConfig>
Proceed with the [standard-upgrade](#standard-upgrade) if your list is empty. Proceed with the [standard-upgrade](#standard-upgrade) if your list is empty.
<a name="jq-command-secrets"/>
<a name="jq-command-secrets"/>
1. If you have installed [`jq`](https://stedolan.github.io/jq/), issue the following command to get all `Gateways` and filter for secrets that require a `ReferencePolicy`. 1. If you have installed [`jq`](https://stedolan.github.io/jq/), issue the following command to get all `Gateways` and filter for secrets that require a `ReferencePolicy`.
```shell-session ```shell-session
$ kubectl get Gateway -o json -A | jq -r '.items[] | {gateway_name: .metadata.name, gateway_namespace: .metadata.namespace, kind: .kind, crossNamespaceSecrets: ( .metadata.namespace as $parentnamespace | .spec.listeners[] | select(has("tls")) | .tls.certificateRefs[] | select(.namespace != null and .namespace != $parentnamespace ) )} ' $ kubectl get Gateway -o json -A | jq -r '.items[] | {gateway_name: .metadata.name, gateway_namespace: .metadata.namespace, kind: .kind, crossNamespaceSecrets: ( .metadata.namespace as $parentnamespace | .spec.listeners[] | select(has("tls")) | .tls.certificateRefs[] | select(.namespace != null and .namespace != $parentnamespace ) )} '
```
```
The output will resemble the following response if gateways that require a new `ReferencePolicy` are returned: The output will resemble the following response if gateways that require a new `ReferencePolicy` are returned:

Loading…
Cancel
Save