Skip to content

Conversation

@weyfonk
Copy link
Contributor

@weyfonk weyfonk commented Sep 27, 2024

Backport of #2906 to v0.10.

This will help users find events produced by Fleet, whether through the
Rancher UI or `kubectl` for instance.
This makes reconciliation, resource creation, deletion and status update
errors for `GitRepo`s more visible, ensuring that they appear in logs
even when debug logging is disabled.
This will help map logs on `GitRepo`s, produced by the `gitjob`
reconciler, with those on corresponding bundles from their reconciler.
This will help map logs referring to a bundle with those referring to
its `GitRepo`, across the `fleet` and `gitjob` controllers.
This clarifies what events are about, as concisely as possible,.
@weyfonk weyfonk requested a review from a team as a code owner September 27, 2024 13:58
@manno manno merged commit ed58536 into rancher:release/v0.10 Sep 27, 2024
12 checks passed
manno pushed a commit that referenced this pull request Sep 27, 2024
* Add `fleet_` prefix to events

This will help users find events produced by Fleet, whether through the
Rancher UI or `kubectl` for instance.

* Reduce verbosity of Gitjob controller logs

This makes reconciliation, resource creation, deletion and status update
errors for `GitRepo`s more visible, ensuring that they appear in logs
even when debug logging is disabled.

* Add gitrepo field to bundle reconciler logs

This will help map logs on `GitRepo`s, produced by the `gitjob`
reconciler, with those on corresponding bundles from their reconciler.

* Add commit field to bundle logs

This will help map logs referring to a bundle with those referring to
its `GitRepo`, across the `fleet` and `gitjob` controllers.

* Update gitops event recorder name

This clarifies what events are about, as concisely as possible,.
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