Skip to content

How to deploy dashboard into root - within no folder? #1750

Answered by Baarsgaard
Rohlik asked this question in Q&A
Discussion options

You must be logged in to vote

I don't remember the source for this, but setting folder: General makes dashboards appear at the root level.

apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
metadata:
  name: test
spec:
  folder: General
  instanceSelector:
    matchLabels:
      grafana: "dashboard"
  json: >
    ...

This does not work for AlertRuleGroups as they need to be in a folder IIRC.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Rohlik
Comment options

Answer selected by Rohlik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants