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

Set default_home_dashboard_path on grafana resource deployment #578

Closed
gruberdev opened this issue Oct 21, 2021 · 2 comments
Closed

Set default_home_dashboard_path on grafana resource deployment #578

gruberdev opened this issue Oct 21, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@gruberdev
Copy link

gruberdev commented Oct 21, 2021

[Feature Request]

Description

Suggested change:

  • An option grafana.spec.config.dashboards.default_home_dashboard_path to define the base path used to configure the dashboard

Alternative solutions until now

  • Rebuilding the operator to use the Grafana container in a way that pulls a pre-built image with a .json dashboard already placed at the correct location
  • Using custom volumes to override the file's location at /usr/share/grafana/public/dashboards/home.json
  • Overriding the configuration of grafana.ini to point towards another location (a remote volume for ex.) in case the second solution doesn't work
@gruberdev gruberdev added enhancement New feature or request needs triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Oct 21, 2021
@pb82 pb82 added good first issue Good for newcomers triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Oct 26, 2021
@Bobbins228 Bobbins228 self-assigned this Oct 26, 2021
@NissesSenap
Copy link
Collaborator

Thanks for the PR @Bobbins228 🥇

@ninkaninus
Copy link

Thanks a lot for this PR @gruberdev

I am struggling a bit with locating where my dashboards is provisioned (they are created from a URL in grafanadashboard resource).
But I am unable to find the path to them in the container, so where did you locate yours?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

No branches or pull requests

5 participants