Status wrong when allowCrossNamespaceImport is set to false and grafana isntance is deployed in another namespace #1164
Labels
help wanted
Extra attention is needed
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Describe the bug
The status field will show as matching instances even if you deploy a grafana instance in one namespace and your dashboards in another one, even if grafanadashboards.spec.allowCrossNamespaceImport isn't set.
This makes it really easy to think that your dashboard should be synced, but since the operator won't sync crossnamespace grafanadashboards it's makes it really hard to understand why they don't show up in your grafana instance.
Version
v5.2.0
To Reproduce
make run
.make run
Expected behavior
Since I haven't set
grafanadashboards.spec.allowCrossNamespaceImport
in my dashboard i should getInstead, I get
➜ k get grafanadashboards.grafana.integreatly.org -n test NAME NO MATCHING INSTANCES LAST RESYNC AGE custom-folder 2m36s 2m36s
Which means there is a sync.
The text was updated successfully, but these errors were encountered: