You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this is expected behaviour or not so I figured I would report it. If I try to re-apply the sveltosclusters.lib.projectsveltos.io CRD I get the following behaviour:
❯ kubectl apply \
--kubeconfig ~/.kube/configs/kind-management-cluster.yaml \
--context kind-management-cluster \
--server-side=true \
-f manifests
<snip>
customresourcedefinition.apiextensions.k8s.io/sveltosclusters.lib.projectsveltos.io serverside-applied
error: Apply failed with 1 conflict: conflict with "application/apply-patch": .spec.versions
Please review the fields above--they currently have other managers. Here
are the ways you can resolve this warning:
* If you intend to manage all of these fields, please re-run the apply
command with the `--force-conflicts` flag.
* If you do not intend to manage all of the fields, please edit your
manifest to remove references to the fields that should keep their
current managers.
* You may co-own fields by updating your manifest to match the existing
value; in this case, you'll become the manager if the other manager(s)
stop managing the field (remove it from their configuration).
See https://kubernetes.io/docs/reference/using-api/server-side-apply/#conflicts
So far when CRDs have changed, I tried my best to make change backward compatible but I have not implemented a proper transition (always left version to v1alpha1).
I feel we are almost ready to move to v1 at which point any change will be properly handle when Sveltos is upgraded.
Keeping this open as valid. Thank you again for reporting it.
Problem Description
I'm not sure if this is expected behaviour or not so I figured I would report it. If I try to re-apply the
sveltosclusters.lib.projectsveltos.io
CRD I get the following behaviour:ManagedFields conflict, click to expand.
System Information
INSTRUCTIONS: Provide the system and application information below.
CLUSTERAPI VERSION:
v1.6.3
SVELTOS VERSION:
0.28.0
KUBERNETES VERSION:
1.28.8
Other
I can work around the problem by setting
--force-conflicts=true
and things seem to be okay...The text was updated successfully, but these errors were encountered: