crossplane-contrib / provider-kubernetes

Crossplane provider to provision and manage Kubernetes objects on (remote) Kubernetes clusters.
Apache License 2.0
148 stars 86 forks source link

Create-pending annotation cleanup #288

Open wejdross opened 3 months ago

wejdross commented 3 months ago

What happened?

If we create a lot of Objects they have create-pending annotation set. That should be cleaned up as it confuses Crossplane runtime.

How can we reproduce it?

Create in one time 5 resources consisting of ~10 Objects waiting and requesting other operators to come up with their managed resources after a while

What environment did it happen in?

Crossplane version: 1.17

How to fix it: https://github.com/linode/provider-ceph/pull/238/files#diff-20dc98dc86bc434bb317ee7fb7dc6f09bfcaef4edea9c6a38390696fd7fc9b2aR38https://github.com/linode/provider-ceph/pull/238/files#diff-20dc98dc86bc434bb317ee7fb7dc6f09bfcaef4edea9c6a38390696fd7fc9b2aR38

Kidswiss commented 4 days ago

This issue is related to this: https://github.com/crossplane/crossplane-runtime/issues/340