Unverified Commit 9d368b4e authored by torgiren's avatar torgiren
Browse files

add grafana sso - closes #16

Signed-off-by: torgiren's avatarMarcin Fabrykowski <git@fabrykowski.pl>
Showing with 28 additions and 0 deletions
+28 -0
......@@ -46,6 +46,9 @@ spec:
# allowSignUp: true
persistence:
enabled: true
config:
useGrafanaIniFile: true
grafanaIniConfigMap: grafana-config
destination:
......
apiVersion: v1
kind: ConfigMap
metadata:
name: grafana-config
namespace: grafana
data:
grafana.ini: |
[server]
root_url = https://grafana.{{ .Values.domain }}
[session]
cookie_secure = true
[auth.generic_oauth]
enabled = true
client_id = grafana
client_secret = yipcAxlvSLPFgpU+FN+SynW5fAbSQqeG2zTJ/4ioTKU=
scopes = openid profile email groups
empty_scopes = false
auth_url = https://auth.dev.exphost.pl/dex/auth
token_url = https://auth.dev.exphost.pl/dex/token
api_url = https://auth.dev.exphost.pl/dex/userinfo
redirect_url = https://grafana.dev.exphost.pl/login/generic_oauth
#allowed_domains = mycompany.com mycompany.org
allow_sign_up = true
tls_skip_verify_insecure = false
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment