-
Notifications
You must be signed in to change notification settings - Fork 12
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
feat: Add block proB pod unless authpolicy present #16
Conversation
If classification not provided assumed unclassified
Updated the PR to be specifically about protected-b classification label since
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, at first glance this is looking good to me! I just have one change to request that isn't anything major!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@zachomedia Are you able to re-review? |
I rebased this and pushed to master :D |
Closes #15
Assumptions:
The pod inherits the
notebook-name
and classification labels.The authorization policy is
{NOTEBOOK_NAME}-protected-b-block
This blocks all the pods that are not unclassified. Not only the protected-b ones.
And it applies to all notebooks, it is not restricted to rstudio images since it is hard to detect which image it is.
The Authorization Policy will only be blocking certain URLs which are specific to rstudio.
cc @zachomedia