-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Add support for admission controller based on namespace node selectors. #24980
Add support for admission controller based on namespace node selectors. #24980
Conversation
@kubernetes/rh-cluster-infra |
c6482cb
to
ab15a87
Compare
5dc8819
to
ad81af8
Compare
Added test cases for namespace cahce and labels. |
} | ||
|
||
// Merge combines given maps | ||
// Note: It doesn't not check for any conflicts between the maps |
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.
Nit: You should note that the second map wins
when conflicts do occur.
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.
Here it is just to find out if a conflict occurs (true or false) that means if a same key exists, then their values are same or not. Not sure what do you mean by win here?
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.
@DirectXMan12 nvm I was thinking about conflicts.
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for the commit author(s). If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. |
096e4f7
to
1635272
Compare
CLAs look good, thanks! |
@DirectXMan12 thanks. Updated. |
b29c374
to
ec9962f
Compare
ec9962f
to
adb2fe9
Compare
137379f
to
6fec17b
Compare
@k8s-bot kubemark e2e test this |
@derekwaynecarr updated it. PTAL. |
Jenkins Kubemark GCE e2e failed for commit 6fec17bbc4031c2b8e0a9a0e57f96e76d22fdc39. Full PR test history. The magic incantation to run this job again is |
The following errors dont seem related to a flake. |
@derekwaynecarr @smarterclayton Would appreciate if you could tell me if anything else is needed to get it in? |
Per our discussion at the SIG meeting today, this doesn't need an LGTM from me, feel free to merge once the appropriate RedHat people are happy with it. |
Reviewing this now. |
LGTM |
@k8s-bot test this issue: #IGNORE |
Jenkins unit/integration failed for commit 6fec17bbc4031c2b8e0a9a0e57f96e76d22fdc39. Full PR test history. The magic incantation to run this job again is |
the pr #32555 merged and changed the signature of admission.NewPluginInitializer which is now breaking the build of this admission controller. Will fix it soon. |
This work is to upstream openshift's project node selectors based admission controller. Addresses kubernetes#17151.
6fec17b
to
5bb2cb8
Compare
@derekwaynecarr this pr needs LGTM again. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
Jenkins GKE smoke e2e failed for commit 5bb2cb8. Full PR test history. The magic incantation to run this job again is |
Automatic merge from submit-queue |
This work is to upstream openshift's project node selectors based admission controller.
Fixes #17151
This change is