-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable Login for Grafana with Dex(OIDC) #2378
Conversation
This commit enables Single Sign-On for Grafana while making use of Dex as an OIDC provider. Initially, we used basic auth for signing into Grafana and with this approach, user settings such as username and password are lost during an upgrade/downgrade scenario. Now, access to grafana is guaranteed by the OIDC user store and as such persisted throughout. This chart is re-rendered using: ./charts/render.py prometheus-operator --namespace metalk8s-monitoring charts/prometheus-operator.yaml --service-config grafana metalk8s-grafana-config --service-config prometheus metalk8s-prometheus-config --service-config alertmanager metalk8s-alertmanager-config charts/prometheus-operator/ > salt/metalk8s/addons/prometheus-operator/deployed/chart.sls
Hello ebaneck,My role is to assist you with the merge of this Status report is not available. |
Integration data createdI have created the integration data for the additional destination branches.
The following branches will NOT be impacted:
You can set option
|
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
|
oauth_auto_login: true | ||
auth.generic_oauth: | ||
enabled: true | ||
tls_skip_verify_insecure: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mmmh... Really? Can't we give it the Ingress cert?
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
The following reviewers are expecting changes from the author, or must review again: |
/approve |
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
The following reviewers are expecting changes from the author, or must review again: The following options are set: approve |
In the queueThe changeset has received all authorizations and has been added to the The changeset will be merged in:
The following branches will NOT be impacted:
There is no action required on your side. You will be notified here once IMPORTANT Please do not attempt to modify this pull request.
If you need this pull request to be removed from the queue, please contact a The following options are set: approve |
I have successfully merged the changeset of this pull request
The following branches have NOT changed:
Please check the status of the associated issue None. Goodbye ebaneck. |
Component:
'charts', 'kubernetes', 'oidc', 'authentication'
Context:
Basic authentication was deprecated in 2.5 branch and Dex(OIDC) was introduced. It is only fair that we make use of the Dex user store as a source of truth for Grafana authentication before a 2.5 release.
Why?
Things to keep:
Summary:
This PR adds the following changes:
Acceptance criteria:
Closes: #ISSUE_NUMBER