diff --git a/charts/kyverno/README.md b/charts/kyverno/README.md index a576d001fc..0ae00f0df6 100644 --- a/charts/kyverno/README.md +++ b/charts/kyverno/README.md @@ -129,7 +129,7 @@ The first option for upgrading, which is the recommended option, involves backin Follow the procedure below. 1. READ THE COMPLETE RELEASE NOTES FIRST -2. Backup and export all Kyverno policy resources to a YAML manifest. Use the command `kubectl get pol,cpol,cleanpol,ccleanpol,polex -A > kyvernobackup.yaml`. +2. Backup and export all Kyverno policy resources to a YAML manifest. Use the command `kubectl get pol,cpol,cleanpol,ccleanpol,polex -A -o yaml > kyvernobackup.yaml`. 3. Uninstall your current version of Kyverno. 4. Review the [New Chart Values](#new-chart-values) section and translate your desired features and configurations to the new format. 5. Install the v3 chart with Kyverno 1.10. @@ -153,7 +153,7 @@ Follow the procedure below. 1. READ THE COMPLETE RELEASE NOTES FIRST 2. Scale the `kyverno` Deployment to zero replicas. -3. If coming from 1.9 and you have install the cleanup controller, scale the `kyverno-cleanup-controller` Deployment to zero replicas. +3. If coming from 1.9 and you have installed the cleanup controller, scale the `kyverno-cleanup-controller` Deployment to zero replicas. 4. If step 3 applied to you, now delete the cleanup Deployment. 5. Review the [New Chart Values](#new-chart-values) section and translate your desired features and configurations to the new format. 6. Upgrade to the v3 chart by passing the mandatory flag `upgrade.fromV2=true`. diff --git a/charts/kyverno/README.md.gotmpl b/charts/kyverno/README.md.gotmpl index 943e830d33..7fabe573f0 100644 --- a/charts/kyverno/README.md.gotmpl +++ b/charts/kyverno/README.md.gotmpl @@ -129,7 +129,7 @@ The first option for upgrading, which is the recommended option, involves backin Follow the procedure below. 1. READ THE COMPLETE RELEASE NOTES FIRST -2. Backup and export all Kyverno policy resources to a YAML manifest. Use the command `kubectl get pol,cpol,cleanpol,ccleanpol,polex -A > kyvernobackup.yaml`. +2. Backup and export all Kyverno policy resources to a YAML manifest. Use the command `kubectl get pol,cpol,cleanpol,ccleanpol,polex -A -o yaml > kyvernobackup.yaml`. 3. Uninstall your current version of Kyverno. 4. Review the [New Chart Values](#new-chart-values) section and translate your desired features and configurations to the new format. 5. Install the v3 chart with Kyverno 1.10. @@ -153,7 +153,7 @@ Follow the procedure below. 1. READ THE COMPLETE RELEASE NOTES FIRST 2. Scale the `kyverno` Deployment to zero replicas. -3. If coming from 1.9 and you have install the cleanup controller, scale the `kyverno-cleanup-controller` Deployment to zero replicas. +3. If coming from 1.9 and you have installed the cleanup controller, scale the `kyverno-cleanup-controller` Deployment to zero replicas. 4. If step 3 applied to you, now delete the cleanup Deployment. 5. Review the [New Chart Values](#new-chart-values) section and translate your desired features and configurations to the new format. 6. Upgrade to the v3 chart by passing the mandatory flag `upgrade.fromV2=true`.