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 flags for user and group impersonation #109

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

isaacnboyd
Copy link
Contributor

As described in issue #30, some companies require administrators to use kubernetes impersonation.
This commit uses familiar flags for impersonation and translates them into the client-go config.

resolves #30
resolves #104

Copy link
Owner

@robscott robscott left a comment

Choose a reason for hiding this comment

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

Thanks @isaacnboyd!

pkg/kube/clientset.go Outdated Show resolved Hide resolved
@isaacnboyd isaacnboyd force-pushed the impersonate-user-group branch from 58f8e74 to 76ef444 Compare January 16, 2024 14:17
@isaacnboyd
Copy link
Contributor Author

goreleaser build check will pass after #108 is merged

@robscott
Copy link
Owner

@isaacnboyd If you can rebase your PRs I think everything should pass, thanks for the work on this!

As described in issue #30, some companies require
administrators to use kubernetes impersonation.
This commit uses familiar flags for impersonation and
translates them into the client-go config.
@isaacnboyd isaacnboyd force-pushed the impersonate-user-group branch from 76ef444 to b10872a Compare January 18, 2024 15:17
@isaacnboyd
Copy link
Contributor Author

Both PRs have been rebased and have no conflicts with each other. Thanks @robscott for reviews!

@robscott robscott merged commit 6ec65b2 into robscott:main Jan 22, 2024
3 checks passed
@robscott
Copy link
Owner

Thanks @isaacnboyd!

@grosser
Copy link

grosser commented Jan 22, 2024

Thanks!

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.

support --as / --as-group Allow Username and Group impersonating.
3 participants