Skip to content

Commit 6d5640b

Browse files
inteonerikgb
authored andcommitted
apply change proposed in issue 899
Signed-off-by: Tim Ramlot <[email protected]>
1 parent 786fa5b commit 6d5640b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/releases/upgrading/upgrading-1.7-1.8.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Before upgrading to 1.8.0, you will need to check that all the Certificate YAML
1111

1212
```sh
1313
kubectl get cert -A -ojson | jq -r \
14-
'.items[] | select(.spec.privateKey.rotationPolicy | strings | . != "Always" and . != "Never") | "\(.metadata.name) in namespace \(.metadata.namespace) has rotationPolicy=\(.spec.privateKey.rotationPolicy)"'
14+
'.items[] | select(.spec.privateKey) | select(.spec.privateKey.rotationPolicy | . != "Always" and . != "Never") | "\(.metadata.name) in namespace \(.metadata.namespace) has rotationPolicy=\(.spec.privateKey.rotationPolicy)"'
1515
```
1616

1717
This command will show you, the name and namespace of each Certificate resource that needs to be updated in Git. For example:

0 commit comments

Comments
 (0)