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

kube-apiserver: improve bootstrap token authentication error messages #41985

Merged

Conversation

ericchiang
Copy link
Contributor

This was requested by @jbeda as a follow up to #41281.

cc @jbeda @luxas @kubernetes/sig-auth-pr-reviews

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Feb 23, 2017
@k8s-reviewable
Copy link

This change is Reviewable

@k8s-github-robot k8s-github-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. release-note-label-needed labels Feb 23, 2017
//
func tokenErrorf(s *api.Secret, format string, i ...interface{}) {
format = fmt.Sprintf("Bootstrap secret %s/%s matching bearer token ", s.Namespace, s.Name) + format
glog.V(3).Infof(format, i...)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Don't know if this is the correct verbosity level. It was the existing one taken from isSecretExpired.

@ericchiang
Copy link
Contributor Author

@k8s-bot kops aws e2e test this

@liggitt liggitt added the sig/auth Categorizes an issue or PR as relevant to SIG Auth. label Mar 8, 2017
@ericchiang
Copy link
Contributor Author

cc @jbeda @luxas should we hold off to 1.7 for this?

@k8s-github-robot k8s-github-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 14, 2017
@k8s-github-robot k8s-github-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 14, 2017
@luxas
Copy link
Member

luxas commented Apr 25, 2017

ping @ericchiang @jbeda @liggitt

@ericchiang
Copy link
Contributor Author

rebased for good measure. Anyone want to approve?

@ericchiang
Copy link
Contributor Author

@k8s-bot gce etcd3 e2e test this

@deads2k
Copy link
Contributor

deads2k commented Apr 28, 2017

/release-note-none
/lgtm

@k8s-ci-robot k8s-ci-robot added lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. and removed release-note-label-needed labels Apr 28, 2017
@k8s-github-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k, ericchiang

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@k8s-github-robot k8s-github-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 28, 2017
@luxas
Copy link
Member

luxas commented Apr 28, 2017

Thanks @deads2k!

@k8s-github-robot
Copy link

Automatic merge from submit-queue (batch tested with PRs 41530, 44814, 43620, 41985)

@k8s-github-robot k8s-github-robot merged commit 88ad8b9 into kubernetes:master Apr 28, 2017
@ericchiang ericchiang deleted the bootstrap-token-auth-logging branch April 28, 2017 17:04
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. 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. release-note-none Denotes a PR that doesn't merit a release note. sig/auth Categorizes an issue or PR as relevant to SIG Auth. 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.

None yet

7 participants