Skip to content

Commit 6b31b85

Browse files
Merge pull request #1589 from inteon/apply_899
Apply change proposed in issue 899
2 parents 8d5546a + 6d5640b commit 6b31b85

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)