Skip to content

Commit

Permalink
docs: Add note to recommend use of folderRef instead of folderUID
Browse files Browse the repository at this point in the history
  • Loading branch information
aboulay-numspot committed Aug 19, 2024
1 parent 929ea7f commit 368c766
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/docs/dashboards.md
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ spec:

* Use a static UID as a folder reference


```yaml
---
apiVersion: grafana.integreatly.org/v1beta1
Expand Down Expand Up @@ -415,6 +416,8 @@ spec:

## Custom folders

> Note: This method is not recommended. Prefer to use the GrafanaFolder CR and `folderRef` field to declare a folder instead.

In a standard scenario, the operator would use the namespace a CR is deployed to as a folder name in grafana. `folder` field can be used to set a custom folder name:

```yaml
Expand Down

0 comments on commit 368c766

Please sign in to comment.