k3s/pkg/quota/evaluator/core
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
..
BUILD Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
doc.go
persistent_volume_claims.go Introduce priority class in the resource quota 2018-06-04 16:14:54 -04:00
persistent_volume_claims_test.go
pods.go Fix 'Exists' scope selector operator 2018-08-03 01:36:22 -04:00
pods_test.go Merge pull request #57302 from lichuqiang/resourceQuota4extendedResource 2018-02-20 14:10:46 -08:00
registry.go fixes operation for "create on update" 2018-07-10 17:22:09 +08:00
services.go Introduce priority class in the resource quota 2018-06-04 16:14:54 -04:00
services_test.go