kubernetes/pkg/registry/core
Kubernetes Submit Queue f6d90eaa45 Merge pull request #49321 from dgoodwin/export-wiring
Automatic merge from submit-queue (batch tested with PRs 49615, 49321, 49982, 49788, 50355)

Fix unused Secret export logic.

**What this PR does / why we need it**:

The strategy used for the secret store defined custom export logic, and
had accompanying unit tests. However the secret storage did not actually
wire this up by setting an ExportStrategy and thus the code was never
used in the real world.

This change fixes the missing assignment and adds testing at a higher
level to ensure any uses of the generic registry.Store that we expect to
have an ExportStrategy do, and no others.

Several other strategies in the RBAC package also appeared to have
unwired Export logic, however their implementations were all empty
leading me to believe that these are not considered exportable. The
empty methods have now been removed.

**Which issue this PR fixes**: fixes #49042

**Release note**:

```release-note
```
2017-08-09 23:56:00 -07:00
..
componentstatus componentstatus: support client cert health check 2017-04-17 13:58:33 +08:00
configmap convert default predicates to use the default 2017-08-07 09:05:17 -04:00
endpoint convert default predicates to use the default 2017-08-07 09:05:17 -04:00
event Fix NotFound errors do not line up with API endpoint's group version 2017-08-07 16:30:40 +08:00
limitrange convert default predicates to use the default 2017-08-07 09:05:17 -04:00
namespace Fix NotFound errors do not line up with API endpoint's group version 2017-08-07 16:30:40 +08:00
node Merge pull request #49534 from smarterclayton/separate_proxy 2017-08-09 09:53:35 -07:00
persistentvolume Fix NotFound errors do not line up with API endpoint's group version 2017-08-07 16:30:40 +08:00
persistentvolumeclaim Fix NotFound errors do not line up with API endpoint's group version 2017-08-07 16:30:40 +08:00
pod Merge pull request #50370 from wu8685/correct-field-set-size 2017-08-09 22:58:28 -07:00
podtemplate convert default predicates to use the default 2017-08-07 09:05:17 -04:00
rangeallocation Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
replicationcontroller Fix NotFound errors do not line up with API endpoint's group version 2017-08-07 16:30:40 +08:00
resourcequota convert default predicates to use the default 2017-08-07 09:05:17 -04:00
rest componentstatus: support client cert health check 2017-04-17 13:58:33 +08:00
secret Fix unused Secret export logic. 2017-08-09 11:07:51 -03:00
service Merge pull request #49534 from smarterclayton/separate_proxy 2017-08-09 09:53:35 -07:00
serviceaccount convert default predicates to use the default 2017-08-07 09:05:17 -04:00
OWNERS Update OWNERS approvers and reviewers: pkg/registry 2016-12-19 16:22:40 -08:00