Fixup CRD upgrade note to (hopefully) be clearer (#16065)

* Fixup CRD upgrade note to (hopefully) be clearer

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Update content/en/news/releases/1.24.x/announcing-1.24/upgrade-notes/index.md

Co-authored-by: Daniel Hawton <daniel@hawton.org>

---------

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>
Co-authored-by: Daniel Hawton <daniel@hawton.org>
This commit is contained in:
Ben Leggett 2024-12-06 12:09:08 -05:00 committed by GitHub
parent 66e19215ed
commit 15ad530cc5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 3 deletions

View File

@ -59,12 +59,13 @@ This change allows:
Previously this only worked under certain conditions, and when certain install flags were used,
could result in non-Helm-upgradable CRDs being generated that required manual intervention to fix.
As a necessary consequence of this, the labels on the CRDs are changed to be consistent with other Helm-installed resources.
With this change, out-of-band install and upgrade of Istio CRDs with the `kubectl` command when using Helm is **no longer required**.
If you previously installed or upgraded CRDs with `kubectl apply` and not Helm, you can continue to do so.
If you do not use Helm to install, template, or manage Istio resources,
you can continue to do so and install CRDs manually with `kubectl apply -f manifests/charts/base/files/crd-all.gen.yaml`
If you previously installed CRDs with `helm install istio-base` OR `kubectl apply`, you can begin safely upgrading Istio CRDs
with `helm upgrade istio-base` from this and all subsequent releases
with only `helm upgrade istio-base` from this and all subsequent releases
after running the below kubectl commands as a one-time migration:
- `kubectl label $(kubectl get crds -l chart=istio -o name && kubectl get crds -l app.kubernetes.io/part-of=istio -o name) "app.kubernetes.io/managed-by=Helm"`