k3s/test
Kubernetes Submit Queue b3837d004a
Merge pull request #63469 from wojtek-t/allow_list_and_watch_secrets
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>.

Allow for listing & watching individual secrets from nodes

This PR:
- propagates value of `metadata.name` field from fieldSelector to `name` field in RequestInfo (for list and watch requests)
- authorizes list/watch for requests for single secrets/configmaps coming from nodes

As an example:
```
/api/v1/secrets/namespaces/ns?fieldSelector=metadata.name=foo =>
  requestInfo.Name = "foo",
  requestInfo.Verb = "list"
/api/v1/secrets/namespaces/ns?fieldSelector=metadata.name=foo&watch=true =>
  requestInfo.Name = "foo",
  requestInfo.Verb = "list"
```

```release-note
list/watch API requests with a fieldSelector that specifies `metadata.name` can now be authorized as requests for an individual named resource
```
2018-05-17 07:09:43 -07:00
..
conformance Merge pull request #62657 from matthyx/master 2018-05-02 19:44:32 -07:00
e2e test clusterip 2018-05-16 14:30:21 -07:00
e2e_kubeadm Basic E2E tests for kubeadm 2018-05-10 12:54:25 -04:00
e2e_node Merge pull request #57849 from dashpole/eviction_test_event 2018-05-17 00:28:19 -07:00
fixtures Merge pull request #62657 from matthyx/master 2018-05-02 19:44:32 -07:00
images Actually support service `publishNotReadyAddresses` 2018-05-14 14:19:54 -07:00
integration Merge pull request #63469 from wojtek-t/allow_list_and_watch_secrets 2018-05-17 07:09:43 -07:00
kubemark Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
list
soak
typecheck Deduplicate identical typecheck errors between platforms. 2018-03-28 19:42:48 -07:00
utils Add way to request GPUs in tests via RCConfig 2018-05-10 20:17:40 +02:00
BUILD Generated artefacts 2018-04-30 10:00:13 -04:00
OWNERS
test_owners.csv Merge pull request #62662 from wangzhen127/runtime-default 2018-04-26 14:33:53 -07:00
test_owners.json