-
What Grafana version and what operating system are you using?
9.4.1 over Kubernetes -
What are you trying to achieve?
I’m trying to assign OrgID to dashboards that I’m adding to dashboardsConfigMaps. -
How are you trying to achieve it?
I know that if I set up an dashboard in dashboardproviders, I can set the orgId. But if i use a configmap to use a custom dashboard, I must use dashboardsConfigMaps. How can I set the orgID in this way?
I have this config:
dashboardProviders:
dashboardproviders.yaml:
apiVersion: 1
providers:
- name: "default"
orgId: 1
folder: ""
disableDeletion: true
editable: true
options:
path: /var/lib/grafana/dashboards/default
- name: "client 1"
orgId: 2
folder: ""
disableDeletion: true
editable: false
options:
path: /var/lib/grafana/dashboards/default
- name: "client 2"
orgId: 3
folder: ""
disableDeletion: true
editable: false
options:
path: /var/lib/grafana/dashboards/default
dashboardsConfigMaps:
my-org: "my-org-dashboards"