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

Tighten up hook-image-puller's image-awaiter jobs requested RBAC permissions #674

Merged
merged 1 commit into from
May 7, 2018

Conversation

consideRatio
Copy link
Member

@consideRatio consideRatio commented May 3, 2018

The image-awaiter job used in conjunction with the hook-image-puller does not need a ClusterRole and a ClusterRoleBinding as it will no longer inspect the nodes in the cluster, but instead simply inspect a DaemonSet within the current namespace. This PR simply replaces ClusterRole with Role, and ClusterRoleBinding with RoleBinding.

The new image-awaiter used in conjunction with the hook-image-puller does not need a ClusterRoleBinding as it will no longer inspect the nodes in the cluster, but instead inspect the DaemonSets within the namespace.
@choldgraf
Copy link
Member

this seems reasonable to me! though will hold off on merging some someone with a bit more k8s expertise than I

@minrk minrk merged commit d7078d5 into jupyterhub:master May 7, 2018
@manics manics mentioned this pull request Aug 15, 2018
7 tasks
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.

Too permissive rbac for hook-image-puller's image-awaiter job?
3 participants