Skip to content
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

add system:masters group to admin user in static token file #4575

Merged
merged 1 commit into from
Mar 21, 2018

Conversation

erks
Copy link
Contributor

@erks erks commented Mar 5, 2018

This should fix #4369

Tested using the dev version of nodeup:

  • admin user in /srv/kubernetes/known_tokens.csv now has the system:masters group
    # grep admin /srv/kubernetes/known_tokens.csv
    0ODfxv1qwwzDwOmqTnyHTLkDZ0uwC1GZ,admin,admin,system:masters
  • confirmed that using admin token to log into kubernetes-dashboard (created with the default --authentication-mode=token) now has full access

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Mar 5, 2018
@erks
Copy link
Contributor Author

erks commented Mar 5, 2018

/assign @justinsb

@chrislovecnm
Copy link
Contributor

/ok-to-test

Will have @justinsb look at this one, as it is delving into auth that I am not familiar with.

@k8s-ci-robot k8s-ci-robot removed the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Mar 5, 2018
@chrislovecnm chrislovecnm added this to the 1.9.0 milestone Mar 5, 2018
Copy link

@blakebarnett blakebarnett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@justinsb
Copy link
Member

/lgtm

/approve

Thanks @erks

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 21, 2018
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: erks, justinsb

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 21, 2018
@k8s-ci-robot k8s-ci-robot merged commit 8d8e35a into kubernetes:master Mar 21, 2018
@erks erks deleted the admin_token_access branch March 21, 2018 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. blocks-next cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Kubernetes Dashboard v1.8.1 is not accessible after enabling RBAC
5 participants