[feature] instanceSelectors should be made immutable #1519
Labels
enhancement
New feature or request
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Describe the bug
As it was highlighted in #1497 (comment), the operator does not clean up resources (across Grafana instances) that no longer match
instanceSelector
.Version
v5.9.0
To Reproduce
Steps to reproduce the behavior:
0. Deploy `Grafana`
1. Deploy `GrafanaDashboard` that matches the `Grafana` instance
2. Adjust `instanceSelector` in `GrafanaDashboard`, so it no longer matches the `Grafana` instance
Expected behavior
The dashboard should be gone from Grafana.
Runtime (please complete the following information):
The text was updated successfully, but these errors were encountered: