Open
Description
Is your feature request related to a problem? Please describe.
- if a resource e.g. GrafanaDashboard, is skipped, because it lacks
spec.allowCrossNamespaceImport: true
no information hinting at the missing setting is logged.
I would like to see, an INFO line e.g.:
GrafanaDashboard skipped, because it is not in namespace xyz, and allowCrossNamespaceImport is not set or false
- I would like to see an INFO line, informing about the sync status, e.g.:
GrafanaDashboard xyz updated in Grafana-x
GrafanaDashboard zzz created in Grafana-x
GrafanaDashboad nnn removed from Grafana-x
GrafanaDashboard sss uptodate in Grafana-x
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
NissesSenap commentedon Jun 7, 2024
@arminfelder we are happy to take a PR around this.
Sheikh-Abubaker commentedon Jun 17, 2024
@NissesSenap I would like to work on this, can you please tell me which file should I look into ?
NissesSenap commentedon Jun 17, 2024
@Sheikh-Abubaker that is great. In this case it's probably in https://github.com/grafana/grafana-operator/blob/master/controllers/dashboard_controller.go, but this is something that needs to be improved in all the controllers.
But if you take a look in sure you will find a good row to add this info log.
GrafanaDashboard
incorrectNoMatchingInstances
#1751