Skip to content

Commit

Permalink
Update resources and fix role attribute path.
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Polchenko <[email protected]>
  • Loading branch information
i5okie committed Feb 14, 2024
1 parent c7df3be commit 0dca7f8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions helm-values/monitoring/grafana-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -253,11 +253,11 @@ ingress:

resources:
limits:
cpu: 200m
cpu: 1
memory: 1Gi
requests:
cpu: 60m
memory: 250Mi
cpu: 350m
memory: 500Mi

## Node labels for pod assignment
## ref: https://kubernetes.io/docs/user-guide/node-selection/
Expand Down Expand Up @@ -779,7 +779,7 @@ grafana.ini:
api_url: ${KEYCLOAK_SSO_API_URL}
allowed_domains:
use_pkce: true
role_attribute_path: contains(roles[*], 'grafanaadmin') && 'GrafanaAdmin' || contains(roles[*], 'grafanaeditor') && 'GrafanaEditor' || 'Viewer'
role_attribute_path: contains(roles[*], 'grafanaadmin') && 'GrafanaAdmin' || contains(roles[*], 'admin') && 'Admin' || contains(roles[*], 'editor') && 'Editor' || 'Viewer'
allow_assign_grafana_admin: true
groups_attribute_path: groups
# https://grafana.com/docs/grafana/latest/auth/github/#enable-github-in-grafana
Expand Down

0 comments on commit 0dca7f8

Please sign in to comment.