generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reset admission check after deactivation (#3350)
* reset admission check after deactivation Signed-off-by: Kevin <kpostlet@redhat.com> * adjust unit tests Signed-off-by: Kevin <kpostlet@redhat.com> * use deactivation as prefix Signed-off-by: Kevin <kpostlet@redhat.com> * use realClock in admissionCheck package Signed-off-by: Kevin <kpostlet@redhat.com> * remove rejected check because it's transitory Signed-off-by: Kevin <kpostlet@redhat.com> * swap order to avoid short circuit Signed-off-by: Kevin <kpostlet@redhat.com> * dont duplicate eviction function Signed-off-by: Kevin <kpostlet@redhat.com> * address comments Signed-off-by: Kevin <kpostlet@redhat.com> * add unit test for admission check reset Signed-off-by: Kevin <kpostlet@redhat.com> * adjust test description to reflect transitory nature Signed-off-by: Kevin <kpostlet@redhat.com> --------- Signed-off-by: Kevin <kpostlet@redhat.com>
- Loading branch information
1 parent
f9460bf
commit 43b7374
Showing
6 changed files
with
142 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.