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

Use user-string in authentication attributes. #2117

Merged
merged 1 commit into from
Nov 4, 2014

Conversation

erictune
Copy link
Member

@erictune erictune commented Nov 2, 2014

Based on changes under review in PR #2116

@erictune erictune force-pushed the get_user_attrib branch 2 times, most recently from 41336c4 to 6372d62 Compare November 2, 2014 00:27
}

// TestUnknownUserIsUnauthorized tests that a user who is unknown
// to the authentication system get status code "Unauthoried".
Copy link
Contributor

Choose a reason for hiding this comment

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

Unauthorized

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed. Will rebase when #2116 in.

@brendandburns
Copy link
Contributor

Needs a rebase and tests are failing.

@brendandburns brendandburns self-assigned this Nov 3, 2014
@erictune
Copy link
Member Author

erictune commented Nov 3, 2014

Rebased, which is expected to fix test failure.

@erictune
Copy link
Member Author

erictune commented Nov 3, 2014

Will need rebase due to #2124 and adjustment to avoid test failure. Don't merge yet.

@erictune
Copy link
Member Author

erictune commented Nov 3, 2014

PTAL

@@ -24,6 +24,7 @@ import (
"strings"

"github.com/GoogleCloudPlatform/kubernetes/pkg/auth/authorizer"
auth_handlers "github.com/GoogleCloudPlatform/kubernetes/pkg/auth/handlers"
Copy link
Contributor

Choose a reason for hiding this comment

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

authhandlers

@erictune erictune force-pushed the get_user_attrib branch 2 times, most recently from ce06bb9 to ba5ba28 Compare November 3, 2014 19:27
@erictune
Copy link
Member Author

erictune commented Nov 3, 2014

rebased, and fixed review comment,

@erictune
Copy link
Member Author

erictune commented Nov 3, 2014

trying to repro the failure locally.

@erictune erictune force-pushed the get_user_attrib branch 2 times, most recently from c86c1be to 4d058dc Compare November 4, 2014 00:22
@erictune
Copy link
Member Author

erictune commented Nov 4, 2014

Fixed failures via #2142

Added integration tests for user-based auth.
@erictune
Copy link
Member Author

erictune commented Nov 4, 2014

PTAL

@smarterclayton
Copy link
Contributor

LGTM

dchen1107 added a commit that referenced this pull request Nov 4, 2014
Use user-string in authentication attributes.
@dchen1107 dchen1107 merged commit d6e36a4 into kubernetes:master Nov 4, 2014
@erictune erictune deleted the get_user_attrib branch November 4, 2014 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants