Skip to content
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

Fix bug introduced by #690 #742



Copy link

@addreas addreas commented May 5, 2022


When the GetDashboards function is called for the re-sync it gets called with the namespace specified as the empty string, this wasn't accounted for in #690. So, after #690 the reconciliation of dashboards (for the periodic re-sync) started getting an empty list of known dashboards which then caused any checking of existing dashboards to fail.

Relevant issues/tickets

Some people have noticed that this started happening in 4.3.0 (myself included): #686 (comment)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)


  • This change requires a documentation update
  • I have added tests that prove my fix is effective or that my feature works
  • I have added a test case that will be used to verify my changes
  • Verified independently on a cluster by reviewer

Verification steps

Built and tested on my home cluster and seems to have solved the issue of new versions being created each sync period.
Docker image available here:

@NissesSenap NissesSenap self-requested a review May 6, 2022
Copy link

NissesSenap commented May 6, 2022

LGTM, thanks alot for helping out with this bug @addreas

@NissesSenap NissesSenap merged commit 03acb04 into grafana-operator:master May 6, 2022
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants