argoproj-labs / argocd-operator

A Kubernetes operator for managing Argo CD clusters.
https://argocd-operator.readthedocs.io
Apache License 2.0
637 stars 722 forks source link

chore: upgrade operator-sdk to 1.35.0 and migrate kubebuilder go/v3 to go/v4 #1449

Closed saumeya closed 2 months ago

saumeya commented 2 months ago

What type of PR is this? /kind chore

What does this PR do / why we need it:

This PR upgrades the current operator to use operator-sdk 1.35 and kubebuilder go/v4. This is needed to keep the operator up to date with the latest dependencies

Have you updated the necessary documentation?

Which issue(s) this PR fixes:

Fixes #?

How to test changes / Special notes to the reviewer:

saumeya commented 2 months ago

This PR includes the changes in https://github.com/argoproj-labs/argocd-operator/pull/1447 which was only upgrading it to operator-sdk 1.32

With this PR, the migration from kubebuilder go/v3 to go/v4 is also added.

The operator has been tested and passes with these steps as well - https://github.com/argoproj-labs/argocd-operator/tree/master/tests/olm#build-and-install-the-operator

anandrkskd commented 2 months ago

LGTM