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

cidr restriction on kubernetes auth backend #4662

Closed
idcmp opened this issue May 31, 2018 · 1 comment
Closed

cidr restriction on kubernetes auth backend #4662

idcmp opened this issue May 31, 2018 · 1 comment

Comments

@idcmp
Copy link

idcmp commented May 31, 2018

All it takes is a developer to log the service account token for them to copy it off the pod and use it to gain access to the same resources the pod has access to. It would be handy if it was possible to restrict kubernetes auth's to a specified cidr (or set of cidrs).

@tyrannosaurus-becks
Copy link
Contributor

tyrannosaurus-becks commented Jun 1, 2018

@idcmp it's totally possible to add them! Thanks for floating that it'd be useful to you.

I've been slowly going through auth back ends and adding the capability when I have little moments in between things. Here's an example of how cidr restrictions were added for the userpass back end: #4557.

I'll add cidr restrictions to kubernetes at my next opportunity, which will probably be in the next few weeks, unless you beat me to it, which you're welcome to do.

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

No branches or pull requests

2 participants