-
Notifications
You must be signed in to change notification settings - Fork 405
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: Update
GrafanaDatasource
reconcile loop (#1826)
* chore: Implement CommonResource for GrafanaDatasource * feat: GetScopedMatchingInstances for Reconcile feat: NoMatchingInstances condition * fix: Datasource logging of errors refactor: Call Update Status once in Defer feat: Add NoMatchingInstances condition * chore: Datasource field cannot be nil, field is neither nullable or optional test: Verify spec.Datasource is never nil * feat: Add finalizers and cleanup check chore: Update Datasource finalize function * fix: Ignore status updates * chore: Mark status.lastMessage Deprecated test: Fix e2e assert failing after lastMessage deprecation * chore: Move model mutation into getDatasourceContent * feat: InvalidSpec condition when json or valuesFrom are invalid refactor: BuildDatasourceModel aligned with contactpoint * test: Add GrafanaDatasource assert * fix: Ignore missing datasources on finalize * fix: Apply review comments
- Loading branch information
1 parent
ff3fb07
commit cadf108
Showing
12 changed files
with
229 additions
and
139 deletions.
There are no files selected for viewing
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
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
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
Oops, something went wrong.