Skip to content

Commit

Permalink
add configmaps to cluster_role permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
hubeadmin committed Mar 16, 2021
1 parent 2ff7cdd commit 4f0e924
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions deploy/cluster_roles/cluster_role_grafana_operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ rules:
resources:
- grafanadashboards
- grafanadashboards/status
- configmaps
verbs: ['get', 'list', 'update', 'watch']
- apiGroups:
- ""
Expand Down
2 changes: 2 additions & 0 deletions deploy/examples/dashboards/DashboardFromConfigMap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ metadata:
labels:
app: grafana
spec:
json:
""
configMapRef:
name: simple-dashboard-from-cm
key: foo
Expand Down

0 comments on commit 4f0e924

Please sign in to comment.