From 926ac44a0644010a94a5d044e00a4710d8fa1c3f Mon Sep 17 00:00:00 2001 From: Tim Ramlot <42113979+inteon@users.noreply.github.com> Date: Tue, 15 Oct 2024 11:24:19 +0200 Subject: [PATCH] apply change proposed in issue 899 Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com> --- content/docs/releases/upgrading/upgrading-1.7-1.8.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/releases/upgrading/upgrading-1.7-1.8.md b/content/docs/releases/upgrading/upgrading-1.7-1.8.md index b65538b5bac..08313a19c23 100644 --- a/content/docs/releases/upgrading/upgrading-1.7-1.8.md +++ b/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 ```sh kubectl get cert -A -ojson | jq -r \ - '.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)"' ``` This command will show you, the name and namespace of each Certificate resource that needs to be updated in Git. For example: