k3s/pkg/kubeapiserver
Kubernetes Submit Queue 88cfcb45ec
Merge pull request #55856 from miaoyq/replace-for-with-sets
Automatic merge from submit-queue (batch tested with PRs 53689, 56880, 55856, 59289, 60249). 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>.

Use `sets` instead of `for` statement in "IsValidAuthorizationMode"

**What this PR does / why we need it**:
Use `sets` instead of `for` statement in "IsValidAuthorizationMode", that will make the code more clearly and concisely.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #

**Special notes for your reviewer**:

**Release note**:

```release-note
none
```
2018-02-28 00:00:32 -08:00
..
admission Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
authenticator implement token authenticator for new id tokens 2018-02-27 17:20:46 -08:00
authorizer Merge pull request #55856 from miaoyq/replace-for-with-sets 2018-02-28 00:00:32 -08:00
options implement token authenticator for new id tokens 2018-02-27 17:20:46 -08:00
server pass listener to genericapiserver 2017-11-21 11:00:15 +08:00
BUILD run update bazel and staging-godep 2018-01-22 19:10:28 +08:00
OWNERS add liggitt to kubeapiserver owners 2017-04-03 10:14:34 -04:00
default_storage_factory_builder.go Introduce PodSecurityPolicy in the policy/v1beta1 API group. 2018-02-19 20:14:28 +01:00
doc.go