-
Notifications
You must be signed in to change notification settings - Fork 402
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: Update GrafanaDatasource
reconcile loop
#1826
Open
Baarsgaard
wants to merge
12
commits into
grafana:master
Choose a base branch
from
Baarsgaard:update_datasource_reconcile_loop
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Refactor: Update GrafanaDatasource
reconcile loop
#1826
Baarsgaard
wants to merge
12
commits into
grafana:master
from
Baarsgaard:update_datasource_reconcile_loop
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
added
the
documentation
Issues relating to documentation, missing, non-clear etc.
label
Jan 16, 2025
Baarsgaard
force-pushed
the
update_datasource_reconcile_loop
branch
from
January 16, 2025 20:54
5135ecd
to
8e81036
Compare
Baarsgaard
force-pushed
the
update_datasource_reconcile_loop
branch
2 times, most recently
from
January 18, 2025 00:15
5b51f51
to
8fb05de
Compare
Baarsgaard
requested review from
NissesSenap,
weisdd,
ishanjainn,
theSuess,
hubeadmin and
pb82
as code owners
January 18, 2025 00:24
Baarsgaard
force-pushed
the
update_datasource_reconcile_loop
branch
from
January 18, 2025 11:28
8fb05de
to
5684fe8
Compare
feat: NoMatchingInstances condition
refactor: Call Update Status once in Defer feat: Add NoMatchingInstances condition
…ptional test: Verify spec.Datasource is never nil
chore: Update Datasource finalize function
test: Fix e2e assert failing after lastMessage deprecation
refactor: BuildDatasourceModel aligned with contactpoint
Baarsgaard
force-pushed
the
update_datasource_reconcile_loop
branch
from
January 21, 2025 19:07
5684fe8
to
db33aa9
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This was a significantly more complex rewrite than earlier reconcile loops simply due to how different the controller was written.
I recommend to review this one commit at a time and to have at least 2 separate reviewers verify it due to the amount of changes.
I had to split
finalize
into two separate functions to get past a nasty "Not found" error loop that is correct on an updated uid, but a problem when trying to delete a crd.I would like some comments on whether
ReconcilePlugins
is needed in both or just finalize?See commit messages for detailed changes.
This should close #1681 and tick off GrafanaDatasource on #1450