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

Adding support for using SubjectAccessReview #1466

Merged
merged 5 commits into from
Apr 8, 2019

Conversation

raiRaiyan
Copy link
Contributor

@raiRaiyan raiRaiyan commented Mar 29, 2019

This commit adds support for SubjectAccessReview and LocalSubjectAccessReview.

The openshift client already has support for subjectAccessReviews, so I had named it subjectAccessReviewAuth in KubernetesClient.

@centos-ci
Copy link

Can one of the admins verify this patch?

@raiRaiyan
Copy link
Contributor Author

This is pr for #1455

@rohanKanojia
Copy link
Member

ok to test

@rohanKanojia rohanKanojia requested review from oscerd and iocanel March 29, 2019 16:07
Copy link
Member

@rohanKanojia rohanKanojia left a comment

Choose a reason for hiding this comment

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

Minor comments otherwise looks good.

Could you please add a line to CHANGELOG.md regarding this change? Also, a test validating desired behavior would be a huge plus.

Thanks 👍 !

@rohanKanojia rohanKanojia added the changelog missing A line to changelog.md regarding the change is not added label Apr 1, 2019
@rohanKanojia
Copy link
Member

@raiRaiyan : Could you please update CHANGELOG again resolving conflicts?

CHANGELOG.md Outdated
* Fix #1387: ValidatingWebhookConfigurationOperationsImpl should be a NonNamespaceOperation
* Fix #1429: Fixes JsonMappingException: No resource type found for:v1#List when reading a Kubernetes List YAML
* Fix #760: Api get pod from yaml issue
* Fix #807: Loading a deployment from server with a config file throws exception

Improvements

* Fix #1455: Use SubjectAccessReview and LocalSubjectAccessReview in kubernetes client using subjectAccessReviewAuth()
Copy link
Member

Choose a reason for hiding this comment

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

we released 4.2.0 last week, you have to move it above in 4.2-SNAPSHOT section.

@rohanKanojia rohanKanojia removed the changelog missing A line to changelog.md regarding the change is not added label Apr 8, 2019
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