mirror of
https://github.com/argoproj/argo-cd.git
synced 2026-02-20 01:28:45 +01:00
docs: fix upgrade instructions (#16326)
* docs: fix upgrade instructions Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * more things Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> --------- Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
This commit is contained in:
@@ -1,12 +1,5 @@
|
||||
# v2.8 to 2.9
|
||||
|
||||
## `managedNamespaceMetadata` no longer preserves client-side-applied labels or annotations
|
||||
## Upgraded Kustomize Version
|
||||
|
||||
Argo CD 2.9 upgraded kubectl from 1.24 to 1.26. This upgrade introduced a change where client-side-applied labels and
|
||||
annotations are no longer preserved when using a server-side kubectl apply. This change affects the
|
||||
`managedNamespaceMetadata` field of the `Application` CRD. Previously, labels and annotations applied via a client-side
|
||||
apply would be preserved when `managedNamespaceMetadata` was enabled. Now, those existing labels and annotation will be
|
||||
removed.
|
||||
|
||||
To avoid unexpected behavior, follow the [client-side to server-side resource upgrade guide](https://kubernetes.io/docs/reference/using-api/server-side-apply/#upgrading-from-client-side-apply-to-server-side-apply)
|
||||
before enabling `managedNamespaceMetadata` on an existing namespace.
|
||||
Note that bundled Kustomize version has been upgraded from 5.1.0 to 5.2.1.
|
||||
|
||||
12
docs/operator-manual/upgrading/2.9-2.10.md
Normal file
12
docs/operator-manual/upgrading/2.9-2.10.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# v2.9 to 2.10
|
||||
|
||||
## `managedNamespaceMetadata` no longer preserves client-side-applied labels or annotations
|
||||
|
||||
Argo CD 2.10 upgraded kubectl from 1.24 to 1.26. This upgrade introduced a change where client-side-applied labels and
|
||||
annotations are no longer preserved when using a server-side kubectl apply. This change affects the
|
||||
`managedNamespaceMetadata` field of the `Application` CRD. Previously, labels and annotations applied via a client-side
|
||||
apply would be preserved when `managedNamespaceMetadata` was enabled. Now, those existing labels and annotation will be
|
||||
removed.
|
||||
|
||||
To avoid unexpected behavior, follow the [client-side to server-side resource upgrade guide](https://kubernetes.io/docs/reference/using-api/server-side-apply/#upgrading-from-client-side-apply-to-server-side-apply)
|
||||
before enabling `managedNamespaceMetadata` on an existing namespace.
|
||||
@@ -37,6 +37,7 @@ kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/<v
|
||||
|
||||
<hr/>
|
||||
|
||||
* [v2.9 to v2.10](./2.9-2.10.md)
|
||||
* [v2.8 to v2.9](./2.8-2.9.md)
|
||||
* [v2.7 to v2.8](./2.7-2.8.md)
|
||||
* [v2.6 to v2.7](./2.6-2.7.md)
|
||||
|
||||
@@ -128,6 +128,8 @@ nav:
|
||||
- operator-manual/server-commands/additional-configuration-method.md
|
||||
- Upgrading:
|
||||
- operator-manual/upgrading/overview.md
|
||||
- operator-manual/upgrading/2.9-2.10.md
|
||||
- operator-manual/upgrading/2.8-2.9.md
|
||||
- operator-manual/upgrading/2.7-2.8.md
|
||||
- operator-manual/upgrading/2.6-2.7.md
|
||||
- operator-manual/upgrading/2.5-2.6.md
|
||||
|
||||
Reference in New Issue
Block a user