anonymous access and new version

This commit is contained in:
Wolfgang Hottgenroth 2024-01-16 13:50:57 +01:00
parent 9537086c7f
commit ab33d31dc7
Signed by: wn
GPG Key ID: 836E9E1192A6B132
2 changed files with 5 additions and 2 deletions

View File

@ -20,7 +20,7 @@ fi
helm repo add grafana https://grafana.github.io/helm-charts helm repo add grafana https://grafana.github.io/helm-charts
helm repo update helm repo update
helm upgrade --install -f values.yml mainscntgrafana grafana/grafana --version 6.59.0 --namespace=$NAMESPACE helm upgrade --install -f values.yml mainscntgrafana grafana/grafana --version 7.2.1 --namespace=$NAMESPACE
kubectl annotate deployments mainscntgrafana -n $NAMESPACE --overwrite=true secret.reloader.stakater.com/reload=grafana-db-cred kubectl annotate deployments mainscntgrafana -n $NAMESPACE --overwrite=true secret.reloader.stakater.com/reload=grafana-db-cred

View File

@ -19,12 +19,15 @@ grafana.ini:
cookie_samesite: none cookie_samesite: none
auth: auth:
disable_login_form: true disable_login_form: true
auth.anonymous:
enabled: true
org_name: "Main Org."
org_role: Viewer
auth.generic_oauth: auth.generic_oauth:
enabled: true enabled: true
name: Mainscnt Grafana via Keycloak name: Mainscnt Grafana via Keycloak
allow_sign_up: true allow_sign_up: true
client_id: mainscnt-grafana client_id: mainscnt-grafana
client_secret: ...
scopes: openid email profile offline_access roles scopes: openid email profile offline_access roles
email_attribute_path: email email_attribute_path: email
login_attribute_path: username login_attribute_path: username