kubernetes/plugin/pkg/admission
Kubernetes Submit Queue c17b418f89
Merge pull request #59454 from tanshanshan/fix-small
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

simplify if logic

**What this PR does / why we need it**:
simplify if logic ,make it more clear
Thanks.
**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:


**Special notes for your reviewer**:

**Release note**:

```release-note

```
2018-02-07 06:26:02 -08:00
..
admit run update bazel 2018-01-19 13:18:27 +08:00
alwayspullimages refactor admission flag: add two admission flags and make plugins auto in recommended order 2018-01-19 13:16:36 +08:00
antiaffinity fix invalid admission name LimitPodHardAntiAffinityTopology 2018-01-23 10:28:30 +08:00
defaulttolerationseconds refactor admission flag: add two admission flags and make plugins auto in recommended order 2018-01-19 13:16:36 +08:00
deny run update bazel 2018-01-19 13:18:27 +08:00
eventratelimit refactor admission flag: add two admission flags and make plugins auto in recommended order 2018-01-19 13:16:36 +08:00
exec refactor admission flag: add two admission flags and make plugins auto in recommended order 2018-01-19 13:16:36 +08:00
extendedresourcetoleration refactor admission flag: add two admission flags and make plugins auto in recommended order 2018-01-19 13:16:36 +08:00
gc refactor admission flag: add two admission flags and make plugins auto in recommended order 2018-01-19 13:16:36 +08:00
imagepolicy refactor admission flag: add two admission flags and make plugins auto in recommended order 2018-01-19 13:16:36 +08:00
initialresources refactor admission flag: add two admission flags and make plugins auto in recommended order 2018-01-19 13:16:36 +08:00
limitranger refactor admission flag: add two admission flags and make plugins auto in recommended order 2018-01-19 13:16:36 +08:00
namespace refactor admission flag: add two admission flags and make plugins auto in recommended order 2018-01-19 13:16:36 +08:00
noderestriction remove duplicated import 2018-01-17 09:34:59 +08:00
persistentvolume initial work for azure file grow size implementation 2018-01-30 13:36:29 +00:00
podnodeselector refactor admission flag: add two admission flags and make plugins auto in recommended order 2018-01-19 13:16:36 +08:00
podpreset refactor admission flag: add two admission flags and make plugins auto in recommended order 2018-01-19 13:16:36 +08:00
podtolerationrestriction refactor admission flag: add two admission flags and make plugins auto in recommended order 2018-01-19 13:16:36 +08:00
priority Merge pull request #58485 from k82cn/k8s_58471 2018-01-26 12:23:00 -08:00
resourcequota Merge pull request #57149 from deads2k/rebase-02-quota 2018-01-22 19:02:29 -08:00
security [PSP] always check validated policy first for update operation 2018-01-03 11:08:37 +08:00
securitycontext/scdeny simplify the if logic 2018-02-07 11:04:33 +08:00
serviceaccount Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
storage/storageprotection reuse PVC protection admission plugin for PV protection 2018-01-31 20:02:01 +08:00
storageclass/setdefault Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
OWNERS add deads to admission owners 2017-10-16 13:43:54 -04:00