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

Dashboards not imported after Operator restart #31

Closed
pb82 opened this issue Jul 29, 2019 · 0 comments · Fixed by #33 or #34
Closed

Dashboards not imported after Operator restart #31

pb82 opened this issue Jul 29, 2019 · 0 comments · Fixed by #33 or #34

Comments

@pb82
Copy link
Collaborator

pb82 commented Jul 29, 2019

When the Operator is restarted it will not re-import any dashboards it had imported previously. This is because we mark a dashboard as imported and only re-import when the JSON field has changed.

We should always import a dashboard if it is not present in the configmap. A similar problem existed for data sources and was resolved in the same way.

Workaround: you can remove the status field from the dashboard or introduce a small change in the JSON to force the operator to re-import the dashboard.

@pb82 pb82 closed this as completed in #33 Aug 14, 2019
NissesSenap pushed a commit to NissesSenap/grafana-operator that referenced this issue Mar 10, 2023
* fix: panic in WriteIni when spec is nil

* chore: tiny style fixes

* check for an additional error in onDashboardCreated
NissesSenap pushed a commit to NissesSenap/grafana-operator that referenced this issue Mar 14, 2023
* fix: panic in WriteIni when spec is nil

* chore: tiny style fixes

* check for an additional error in onDashboardCreated
NissesSenap pushed a commit that referenced this issue Mar 14, 2023
* fix: panic in WriteIni when spec is nil

* chore: tiny style fixes

* check for an additional error in onDashboardCreated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant