[questions] GrafanaDashboard spec.envs
& spec.plugins
#2124
Unanswered
DrummyFloyd
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Environment:
Description:
I have two questions regarding the
GrafanaDashboard
CRD functionality:1. Plugin Version Management
It seems impossible to use latest for plugins version, is it a wanted behaviour ?
2. Environment Variable Substitution with
grafanaCom
ImportsCurrent Issue: Environment variable substitution via
spec.envs
appears to only work withjsonnet
dashboards, but not with dashboards imported viagrafanaCom.id
.Expected Behavior: Environment variables defined in
spec.envs
should be substituted in dashboards imported from grafana.com, similar to how they work injsonnet
dashboards.Example:
The imported dashboard (ID: 10620) contains template variables that reference environment variables:
My CRD configuration:
Current Result: The
${VAR_GITLAB_HOST}
placeholders in the imported dashboard are not being replaced with the value fromspec.envs
.Questions:
spec.envs
intended to work only withjsonnet
dashboards?grafanaCom
imports?grafanaCom
and directjson
dashboard definitions?thank you for you hardwork
Beta Was this translation helpful? Give feedback.
All reactions