diff options
author | 2024-09-19 17:46:37 +0100 | |
---|---|---|
committer | 2024-09-19 17:46:37 +0100 | |
commit | 6e0b14643a72244770c5eb22800aa135f9275849 (patch) | |
tree | cab73259d4d863094c866d625fdc194509649fb7 | |
parent | Further optimisations to AlertManager initscript (diff) |
Disable GitHub authentication in Grafana
-rw-r--r-- | kubernetes/namespaces/monitoring/grafana/configmap.yaml | 11 | ||||
-rw-r--r-- | kubernetes/namespaces/monitoring/grafana/secrets.yaml | bin | 389 -> 267 bytes |
2 files changed, 0 insertions, 11 deletions
diff --git a/kubernetes/namespaces/monitoring/grafana/configmap.yaml b/kubernetes/namespaces/monitoring/grafana/configmap.yaml index cb10eeb..4ebaf27 100644 --- a/kubernetes/namespaces/monitoring/grafana/configmap.yaml +++ b/kubernetes/namespaces/monitoring/grafana/configmap.yaml @@ -10,17 +10,6 @@ data: GF_SERVER_ROOT_URL: "https://grafana.pydis.wtf" GF_SECURITY_COOKIE_SECURE: "true" - # GitHub Auth - GF_AUTH_GITHUB_ENABLED: "true" - GF_AUTH_GITHUB_SCOPES: "user:email,read:org" - # IDs can be retrieved via `gh api orgs/python-discord/teams`. - GF_AUTH_GITHUB_TEAM_IDS: "2638565,3854739,3114246,7361120,9120709,3282905" - GF_AUTH_GITHUB_ROLE_ATTRIBUTE_PATH: "contains(groups[*], '@python-discord/directors') && 'Admin' || contains(groups[*], '@python-discord/sudo-devops') && 'Admin' || contains(groups[*], '@python-discord/admins') && 'Editor' || 'Viewer'" - GF_AUTH_GITHUB_AUTH_URL: "https://github.com/login/oauth/authorize" - GF_AUTH_GITHUB_TOKEN_URL: "https://github.com/login/oauth/access_token" - GF_AUTH_GITHUB_API_URL: "https://api.github.com/user" - GF_AUTH_ALLOW_SIGN_UP: "true" - # Image storage GF_EXTERNAL_IMAGE_STORAGE_PROVIDED: "local" diff --git a/kubernetes/namespaces/monitoring/grafana/secrets.yaml b/kubernetes/namespaces/monitoring/grafana/secrets.yaml Binary files differindex d0a1af3..b97c826 100644 --- a/kubernetes/namespaces/monitoring/grafana/secrets.yaml +++ b/kubernetes/namespaces/monitoring/grafana/secrets.yaml |