carrie
March 24, 2023, 12:59pm
1
Hi all,
I’ve just provisioned a :grafana: chart on :kubernetes: but I can’t seem to disable AuthN completely.
Enabled these in my values.yml
but no luck, any thoughts?
auth:
anonymous:
enabled: true
org_name: Org.
org_role: Admin```
carrie
March 24, 2023, 1:29pm
2
This grafana.ini
in the values.yml
has no effect!
However this worked just fine for me
GF_AUTH_DISABLE_LOGIN_FORM: true
GF_AUTH_ANONYMOUS_ENABLED: true
GF_AUTH_ANONYMOUS_ORG_NAME: Main Org.
GF_AUTH_ANONYMOUS_ORG_ROLE: Admin
GF_USERS_ALLOW_SIGN_UP: false```
Seems that env vars is the way to go
brad
March 24, 2023, 2:33pm
3
Values.yaml approach would have needed to be like this:
auth.anonymous:
enabled: true
org_name: Org.
org_role: Admin```
carrie
March 24, 2023, 4:00pm
4
Oooh, that makes sense. Thank you,
brad
March 24, 2023, 5:46pm
5
No worries, i did the exact same thing the first time i deployed the helm chart
carrie
March 24, 2023, 7:25pm
6
Haha, I was so frustrated, thought docu was lying to me xD