We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8d5546a + 6d5640b commit 6b31b85Copy full SHA for 6b31b85
content/docs/releases/upgrading/upgrading-1.7-1.8.md
@@ -11,7 +11,7 @@ Before upgrading to 1.8.0, you will need to check that all the Certificate YAML
11
12
```sh
13
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)"'
+ '.items[] | select(.spec.privateKey) | select(.spec.privateKey.rotationPolicy | . != "Always" and . != "Never") | "\(.metadata.name) in namespace \(.metadata.namespace) has rotationPolicy=\(.spec.privateKey.rotationPolicy)"'
15
```
16
17
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