-
Notifications
You must be signed in to change notification settings - Fork 16
major cleanup #400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
major cleanup #400
Conversation
darkdoc
commented
Sep 11, 2025
- WIP: drop argo client from reconcile struct
- WIP: drop config client from reconcile loop
- WIP: drop olm client from reconcile object
- WIP: drop full client from reconcile object, and everywhere else
- WIP: drop full client from reconcile object, and everywhere else
- WIP: drop dynamic client from reconcile object
- WIP: refactor haveacm fn
- WIP: drop operatorclient from reconciler
- WIP: drop routeclient from reconciler
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: darkdoc The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test all |
|
Fails with: |
We need this change because we change the dynamic client to the runtime client. It also makes the logic somewhat clearer.
Refactor acm code, add tests, update vendor code
Pass only the runtime client instead of the whole reconciler object. This makes the testing also cleaner a bit.
This client is not used anywhere so it can be removed.
Change the code to use the runtime client so we can drop some vendor dependencies.
384939f to
3a58f5d
Compare
|
|
Now it fails with: |
|
PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
We need the discovery client functionality to keep backward compatibility when checking for certain api versions
Instead of a separate haveargo fn, which has very similar functionality, use the getargocd and checkAPIVersion functions.
|