-
Notifications
You must be signed in to change notification settings - Fork 51
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
support deleteDatasources #122
Comments
This repository is all about maintaining Grafana instances in an immutable way where everything is configured via files, so I don't see how deleting data sources can be combined with that philosophy. Can you explain why you would need this? Can't you just delete the data source from the files and it won't be provisioned anymore? |
Thanks for getting back! I read the official the grafana provisioning docs (linked above) and they describe the Maybe that's not needed anymore... kubernetes-grafana/grafana/grafana.libsonnet Line 185 in 199e363
It should either expose the I don't want to start a hairsplitting contest here, so please close this issue, if you disagree |
Aha I see! The whole file is actually templated using kubernetes-grafana/grafana/grafana.libsonnet Line 188 in 199e363
This means that you can arbitrarily configure that configuration option and it will be reflected when starting Grafana with that configuration, since it's all 100% declarative. |
Currently there is no way to delete auto-provisioned datasources before update/create (as described here: https://grafana.com/docs/grafana/latest/administration/provisioning/#data-sources)
Does it make sense to support that?
The text was updated successfully, but these errors were encountered: