gardener / etcd-druid

An etcd operator to configure, provision, reconcile and monitor etcd clusters.
https://gardener.github.io/etcd-druid/
Apache License 2.0
77 stars 50 forks source link

Switch from deprecated pkg `k8s.io/utils/pointer` to recommended `k8s.io/utils/ptr` for pointer operations #861

Closed anveshreddy18 closed 2 months ago

anveshreddy18 commented 3 months ago

How to categorize this PR?

/area quality /kind enhancement

What this PR does / why we need it:

The pkg "k8s.io/utils/pointer" is deprecated starting from k8s.io/utils version v0.0.0-20240502163921-fe8a2dddb1d0 which is our current version in master. It is recommended to use the alternate pkg "k8s.io/utils/ptr" from here on.

This PR removes the deprecated package and uses the recommended package for pointer related operations.

Check the release timeline for k8s.io/utils here

Which issue(s) this PR fixes: Fixes #863

Special notes for your reviewer:

Release note:

remove deprecated pkg `k8s.io/utils/pointer` and use pkg `k8s.io/utils/ptr`
unmarshall commented 3 months ago

/test pull-etcd-druid-e2e-kind

unmarshall commented 3 months ago

/test pull-etcd-druid-e2e-kind-nondistroless-etcd

anveshreddy18 commented 3 months ago

/test pull-etcd-druid-e2e-kind

unmarshall commented 3 months ago

/test pull-etcd-druid-e2e-kind

anveshreddy18 commented 3 months ago

/test pull-etcd-druid-e2e-kind

anveshreddy18 commented 2 months ago

/test pull-etcd-druid-e2e-kind-nondistroless-etcd

anveshreddy18 commented 2 months ago

/test pull-etcd-druid-e2e-kind-nondistroless-etcd