k3s/pkg/genericapiserver
Kubernetes Submit Queue e3f0ce2347 Merge pull request #32586 from deads2k/api-05-restrict-versions
Automatic merge from submit-queue

restrict discoverable versions to those that have resources

Prevents versions with no resources from appearing in discovery.

@soltysh ptal.  I think you have some issues for this, mind wiring them up?

```
kubectl api-versions
apps/v1alpha1
authentication.k8s.io/v1beta1
authorization.k8s.io/v1beta1
autoscaling/v1
batch/v1
certificates.k8s.io/v1alpha1
extensions/v1beta1
policy/v1alpha1
rbac.authorization.k8s.io/v1alpha1
storage.k8s.io/v1beta1
v1
```
Fixes  #29998.
2016-09-15 05:56:34 -07:00
..
authorizer pkg/genericapiserver/options: don't import pkg/apiserver 2016-08-18 13:01:50 -07:00
openapi Create a flag for route reconciliatio and deprecate unused node-sync-period one 2016-09-14 11:49:50 +02:00
options EnableGarbageCollection should be a struct member on RESTOptions 2016-09-15 00:09:28 -04:00
validation combine the ValidateRunOptions errors 2016-08-27 15:08:57 +08:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
config.go EnableGarbageCollection should be a struct member on RESTOptions 2016-09-15 00:09:28 -04:00
default_storage_factory_builder.go make --runtime-config=api/all=true|false work 2016-09-13 12:03:25 -07:00
default_storage_factory_builder_test.go make --runtime-config=api/all=true|false work 2016-09-13 12:03:25 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
genericapiserver.go restrict discoverable versions to those that have resources 2016-09-14 09:16:11 -04:00
genericapiserver_test.go Revert "Revert "Enable v3 Client as the default on UTs"" 2016-09-14 07:27:21 -05:00
resource_config.go make addition group registration easier 2016-07-25 08:23:24 -04:00
resource_config_test.go make addition group registration easier 2016-07-25 08:23:24 -04:00
resource_encoding_config.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
server_run_options_test.go Remove DeprecatedStorageVersion 2016-09-06 16:52:12 -07:00
storage_factory.go Pin ingresses etcd prefix for 1.3 compatibility 2016-09-08 01:54:07 -04:00
storage_factory_test.go move new etcd storage into cacher 2016-08-12 18:40:20 -07:00
tunneler.go Refactor util clock into it's own pkg 2016-07-28 02:29:04 -04:00
tunneler_test.go Refactor util clock into it's own pkg 2016-07-28 02:29:04 -04:00