-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Conversation
Can one of the admins verify this patch? |
This is pr for #1455 |
ok to test |
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.
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 👍 !
kubernetes-client/src/main/java/io/fabric8/kubernetes/client/osgi/ManagedKubernetesClient.java
Outdated
Show resolved
Hide resolved
...ient/src/main/java/io/fabric8/kubernetes/client/dsl/internal/SubjectAccessReviewDSLImpl.java
Outdated
Show resolved
Hide resolved
...ient/src/main/java/io/fabric8/kubernetes/client/dsl/internal/SubjectAccessReviewDSLImpl.java
Show resolved
Hide resolved
@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() |
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.
we released 4.2.0 last week, you have to move it above in 4.2-SNAPSHOT section.
…view in kubernetes client
…, removing wildcard imports
This commit adds support for SubjectAccessReview and LocalSubjectAccessReview.
The openshift client already has support for
subjectAccessReviews
, so I had named itsubjectAccessReviewAuth
inKubernetesClient
.