k3s/pkg/quota
Kubernetes Submit Queue e5b8e891e9
Merge pull request #66351 from vikaschoudhary16/fix-scopeselector-exist-operator
Automatic merge from submit-queue (batch tested with PRs 66351, 66883, 66156). 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>.

Add unit tests to cover scopes and scope selectors during quota sync logic

**What this PR does / why we need it**:
Adds unit tests to cover scopes and scope selectors fields in the quota spec. Existing unit test for quota sync does not cover scopes.

Also while adding tests found a minor issue with 'Exists' scope selector operator. This is also being fixed in this PR.

**Special notes for your reviewer**:

**Release note**:

```release-note
Unit tests for scopes and scope selectors in the quota spec
```
/cc @derekwaynecarr @sjenning @bsalamat @kubernetes/sig-scheduling-pr-reviews @kubernetes/sig-node-pr-reviews
2018-08-06 07:13:14 -07:00
..
evaluator Merge pull request #66351 from vikaschoudhary16/fix-scopeselector-exist-operator 2018-08-06 07:13:14 -07:00
generic fixes operation for "create on update" 2018-07-10 17:22:09 +08:00
install only need to ignore resources that match discovery conditions 2018-07-05 10:29:58 -04:00
BUILD Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
OWNERS add deads to quota owner 2017-12-18 09:39:25 -05:00
interfaces.go Introduce priority class in the resource quota 2018-06-04 16:14:54 -04:00
resources.go Merge pull request #64688 from hzxuzhonghu/resourceList-opt 2018-06-20 05:48:08 -07:00
resources_test.go Add UT test to TestMax if equal scenario 2018-03-01 10:30:06 +08:00