Comments (5)
Dear
I think there is a good usecase to make it possible to install grafana plugins via the operator.
Grafana oncall needs a plugin that has nothing to do with a datasource or dashboard.
If there would be a possiblilty to install a plugin via the operator would be a good thing.
Thanks for checking
from grafana-operator.
The openshift/origin-grafana image does not seem to support plugin installation in the way that the official image does. I'd like to keep the operator functional even when using third party images (that is often a requirement for productization or use in internal environments) . That's why its currently implemented using the init container. It works in the following way:
- Plugins can be added to dashboards, see for example here
- When the operator reconciles the dashboards it builds a list of all plugins that need to be installed (it will also do some sanity checking on the versions)
- It passes this list as an env var to the init container when then uses a small Python script to download the plugins and copy them into a volume mounted at the expected Grafana plugins location
- Grafana is restarted to load the new Plugins
I've thought about allowing Plugins to be added to the Grafana CR too (instead of only to dashboard CRs) but had no use case yet that would require it.
from grafana-operator.
Hi @pb82 ... makes sense to me :-) .. perhaps one solution to enabled both would be to allow users to add additional envs mapped to the deployment ...
from grafana-operator.
@gambol99 Additional additional env vars via the CR sounds interesting. Do you see any other use cases (besides plugins) that this would allow?
from grafana-operator.
@gambol99 Closing this issue as its more of a feature request. Feel free to reopen if you have a use case for allowing to set the env vars in the CR.
from grafana-operator.
Related Issues (20)
- [Bug] Documentation: Installation instructions for Kustomize are not working HOT 3
- [Bug] Signing not working as intended HOT 1
- Make the grafana operator able to create grafana service accounts and tokens from yaml HOT 3
- Documentation: PVC and Volumes example HOT 6
- Auto-enable app plugins via operator. HOT 4
- Installing custom plugin HOT 5
- Port NotificationChannel CRD from operator v4 to v5 HOT 3
- Prometheus data source for "Azure Monitor for Prometheus" with workload identity does not work HOT 5
- [Bug] grafana operator 5.6.0 -> 5.6.1 upgrade issues openshift HOT 28
- [Bug] instanceSelector.matchExpressions not working for GrafanaDatasource HOT 1
- Dashboard from configmap using selector HOT 4
- Grafana deployment with a Persistent Volume HOT 4
- Service account automountServiceAccountToken should be set to false HOT 3
- Service Account for grafana instance does not get annotations HOT 2
- [Bug] Unable to set custom secrets without defining grafana container image HOT 6
- watch namespaces using a label selector
- [Bug] Unable to upgrade from v5.6.0 on OpenShift HOT 10
- [doc] Grafana deployment with a Persistent Volume HOT 6
- Unable to limit which Grafana can use which dashboards (v5 operator) HOT 4
- Add make it possible to disable editing of a dashboard from a grafanadashboard CRD HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grafana-operator.