Skip to content
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

Refactor grutils/gitops controller #2997

Merged
merged 3 commits into from
Oct 24, 2024
Merged

Conversation

manno
Copy link
Member

@manno manno commented Oct 24, 2024

Refers to #2995

This is preparation for fixes to the status/display/summary code.

separate commits for review, will need to squash.

@manno manno requested a review from a team as a code owner October 24, 2024 10:34
Copy link
Contributor

@0xavi0 0xavi0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a nit about one line that remained after copy/paste

@manno manno force-pushed the refactor-grutils-gitops-controller branch from 923b8c5 to 530fb59 Compare October 24, 2024 13:36
* move all gitrepo utils into reconciler, who is the only consumer
* make funcs private, move update funcs into main reconcilers file
Separate the gitjob status fields and conditions from the observability
status fields.
@manno manno force-pushed the refactor-grutils-gitops-controller branch from 530fb59 to fa42297 Compare October 24, 2024 13:50
@manno manno merged commit 4f3c754 into main Oct 24, 2024
11 of 12 checks passed
@manno manno deleted the refactor-grutils-gitops-controller branch October 24, 2024 14:25
aruiz14 added a commit to aruiz14/fleet that referenced this pull request Oct 30, 2024
Refactor grutils/gitops controller:
* remove grutil package and unexport functions
* move all gitrepo utils into reconciler, who is the only consumer
manno pushed a commit that referenced this pull request Oct 30, 2024
* Partial backport of #2997

Refactor grutils/gitops controller:
* remove grutil package and unexport functions
* move all gitrepo utils into reconciler, who is the only consumer

* Avoid modifying summary directly

* Avoid listing BundleDeployments twice

* Backport #3027

GitRepo resources list doesn't list resources multiple times

* Add comment to merge

* Fix summary import
aruiz14 added a commit that referenced this pull request Nov 7, 2024
GitRepo status resources improvements

* Partial backport of #2997

Refactor grutils/gitops controller:
* remove grutil package and unexport functions
* move all gitrepo utils into reconciler, who is the only consumer

* Avoid modifying summary directly

* Avoid listing BundleDeployments twice

* Backport #3027

GitRepo resources list doesn't list resources multiple times

* Add comment to merge

* Fix summary import
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants