-
Notifications
You must be signed in to change notification settings - Fork 415
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
feat/fix(datasource): support for hardcoded uid, multiple fixes #1070
Conversation
(added bug in my branch)
… existing datasource
Hello @weisdd After testing different datasources, I got an issue that was not existing on v5.0.0-rc1 for elasticsearch one
And here is the configuration
I think this may come from the "Data Links" (I show you in image what are the differencies) related to internal link activated or not) Note 0 : the GrafanaDatasource you see does not send 400 errors on v5.0.0-rc1 and reconcile without issue Note 1 : I tested to created manually the elasticsearch datasource using the same testing and it works well Note 2: Other datasources are working properly on my side :) (AWS, Azure, Prometheus, Alertmanager, etc), good job 🐐 Edit: This was due to secret value definition (secret to valuesFrom, nothing related to the PR) |
@galvesLoy thanks for the test! |
@weisdd It seems to work :) thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, tested locally, works as expected
onDatasourceDeleted
, tolerate case where a datasource was manually deleted (not able to find ID);Reconcile
level instead ofonDatasourceCreated
) to improve overall reconciliation flow;Fixes: #1056