diff --git a/pkg/registry/apiserverinternal/storageversion/storage/storage.go b/pkg/registry/apiserverinternal/storageversion/storage/storage.go index f4cf8bbec3d..92ede95afc7 100644 --- a/pkg/registry/apiserverinternal/storageversion/storage/storage.go +++ b/pkg/registry/apiserverinternal/storageversion/storage/storage.go @@ -104,5 +104,5 @@ func (r *StatusREST) ConvertToTable(ctx context.Context, object runtime.Object, var _ rest.SingularNameProvider = &StatusREST{} func (r *StatusREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/status" } diff --git a/pkg/registry/apps/daemonset/storage/storage.go b/pkg/registry/apps/daemonset/storage/storage.go index b2541039713..5f2246f0e95 100644 --- a/pkg/registry/apps/daemonset/storage/storage.go +++ b/pkg/registry/apps/daemonset/storage/storage.go @@ -119,5 +119,5 @@ func (r *StatusREST) ConvertToTable(ctx context.Context, object runtime.Object, var _ rest.SingularNameProvider = &StatusREST{} func (r *StatusREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/status" } diff --git a/pkg/registry/apps/deployment/storage/storage.go b/pkg/registry/apps/deployment/storage/storage.go index c94f5da9198..d5f2ce5297a 100644 --- a/pkg/registry/apps/deployment/storage/storage.go +++ b/pkg/registry/apps/deployment/storage/storage.go @@ -171,7 +171,7 @@ func (r *StatusREST) ConvertToTable(ctx context.Context, object runtime.Object, var _ rest.SingularNameProvider = &StatusREST{} func (r *StatusREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/status" } // RollbackREST implements the REST endpoint for initiating the rollback of a deployment @@ -207,7 +207,7 @@ func (r *RollbackREST) Destroy() { var _ rest.SingularNameProvider = &RollbackREST{} func (r *RollbackREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/rollback" } var _ = rest.NamedCreater(&RollbackREST{}) @@ -357,7 +357,7 @@ func (r *ScaleREST) ConvertToTable(ctx context.Context, object runtime.Object, t var _ rest.SingularNameProvider = &ScaleREST{} func (r *ScaleREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/scale" } func toScaleCreateValidation(f rest.ValidateObjectFunc) rest.ValidateObjectFunc { diff --git a/pkg/registry/apps/replicaset/storage/storage.go b/pkg/registry/apps/replicaset/storage/storage.go index b0d44428bb7..806c362676e 100644 --- a/pkg/registry/apps/replicaset/storage/storage.go +++ b/pkg/registry/apps/replicaset/storage/storage.go @@ -167,7 +167,7 @@ func (r *StatusREST) ConvertToTable(ctx context.Context, object runtime.Object, var _ rest.SingularNameProvider = &StatusREST{} func (r *StatusREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/status" } // ScaleREST implements a Scale for ReplicaSet. @@ -247,7 +247,7 @@ func (r *ScaleREST) ConvertToTable(ctx context.Context, object runtime.Object, t var _ rest.SingularNameProvider = &ScaleREST{} func (r *ScaleREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/scale" } func toScaleCreateValidation(f rest.ValidateObjectFunc) rest.ValidateObjectFunc { diff --git a/pkg/registry/apps/statefulset/storage/storage.go b/pkg/registry/apps/statefulset/storage/storage.go index b98ce47d7fa..ef9f8984e5d 100644 --- a/pkg/registry/apps/statefulset/storage/storage.go +++ b/pkg/registry/apps/statefulset/storage/storage.go @@ -155,7 +155,7 @@ func (r *StatusREST) ConvertToTable(ctx context.Context, object runtime.Object, var _ rest.SingularNameProvider = &StatusREST{} func (r *StatusREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/status" } // Implement ShortNamesProvider @@ -241,7 +241,7 @@ func (r *ScaleREST) ConvertToTable(ctx context.Context, object runtime.Object, t var _ rest.SingularNameProvider = &ScaleREST{} func (r *ScaleREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/scale" } func toScaleCreateValidation(f rest.ValidateObjectFunc) rest.ValidateObjectFunc { diff --git a/pkg/registry/authentication/selfsubjectreview/rest.go b/pkg/registry/authentication/selfsubjectreview/rest.go index 8d502315dfe..06af5b039e8 100644 --- a/pkg/registry/authentication/selfsubjectreview/rest.go +++ b/pkg/registry/authentication/selfsubjectreview/rest.go @@ -93,3 +93,7 @@ func (r *REST) Create(ctx context.Context, obj runtime.Object, createValidation return selfSAR, nil } + +func (r *REST) GetSingularName() string { + return "selfsubjectrulesreview" +} diff --git a/pkg/registry/autoscaling/horizontalpodautoscaler/storage/storage.go b/pkg/registry/autoscaling/horizontalpodautoscaler/storage/storage.go index 01677f5af12..4822f1bc540 100644 --- a/pkg/registry/autoscaling/horizontalpodautoscaler/storage/storage.go +++ b/pkg/registry/autoscaling/horizontalpodautoscaler/storage/storage.go @@ -119,5 +119,5 @@ func (r *StatusREST) ConvertToTable(ctx context.Context, object runtime.Object, var _ rest.SingularNameProvider = &StatusREST{} func (r *StatusREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/status" } diff --git a/pkg/registry/batch/cronjob/storage/storage.go b/pkg/registry/batch/cronjob/storage/storage.go index 52abf8d4a49..94b5b58f7db 100644 --- a/pkg/registry/batch/cronjob/storage/storage.go +++ b/pkg/registry/batch/cronjob/storage/storage.go @@ -117,5 +117,5 @@ func (r *StatusREST) ConvertToTable(ctx context.Context, object runtime.Object, var _ rest.SingularNameProvider = &StatusREST{} func (r *StatusREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/status" } diff --git a/pkg/registry/batch/job/storage/storage.go b/pkg/registry/batch/job/storage/storage.go index fbd509bf919..2959a1ca042 100644 --- a/pkg/registry/batch/job/storage/storage.go +++ b/pkg/registry/batch/job/storage/storage.go @@ -160,5 +160,5 @@ func (r *StatusREST) ConvertToTable(ctx context.Context, object runtime.Object, var _ rest.SingularNameProvider = &StatusREST{} func (r *StatusREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/status" } diff --git a/pkg/registry/certificates/certificates/storage/storage.go b/pkg/registry/certificates/certificates/storage/storage.go index 2a477369f12..045157653c0 100644 --- a/pkg/registry/certificates/certificates/storage/storage.go +++ b/pkg/registry/certificates/certificates/storage/storage.go @@ -120,7 +120,7 @@ func (r *StatusREST) ConvertToTable(ctx context.Context, object runtime.Object, var _ rest.SingularNameProvider = &StatusREST{} func (r *StatusREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/status" } var _ = rest.Patcher(&StatusREST{}) @@ -161,7 +161,7 @@ func (r *ApprovalREST) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set var _ rest.SingularNameProvider = &ApprovalREST{} func (r *ApprovalREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/approval" } var _ = rest.Patcher(&ApprovalREST{}) diff --git a/pkg/registry/core/namespace/storage/storage.go b/pkg/registry/core/namespace/storage/storage.go index 18afd20e7f9..e9a37779f0d 100644 --- a/pkg/registry/core/namespace/storage/storage.go +++ b/pkg/registry/core/namespace/storage/storage.go @@ -342,7 +342,7 @@ func (r *StatusREST) ConvertToTable(ctx context.Context, object runtime.Object, var _ rest.SingularNameProvider = &StatusREST{} func (r *StatusREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/status" } func (r *FinalizeREST) New() runtime.Object { @@ -370,5 +370,5 @@ func (r *FinalizeREST) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set var _ rest.SingularNameProvider = &FinalizeREST{} func (r *FinalizeREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/finalize" } diff --git a/pkg/registry/core/node/rest/proxy.go b/pkg/registry/core/node/rest/proxy.go index 4f4b855e284..d3c1c7122f2 100644 --- a/pkg/registry/core/node/rest/proxy.go +++ b/pkg/registry/core/node/rest/proxy.go @@ -69,7 +69,7 @@ func (r *ProxyREST) NewConnectOptions() (runtime.Object, bool, string) { var _ rest.SingularNameProvider = &ProxyREST{} func (r *ProxyREST) GetSingularName() string { - return r.Store.GetSingularName() + return r.Store.GetSingularName() + "/proxy" } // Connect returns a handler for the node proxy diff --git a/pkg/registry/core/node/storage/storage.go b/pkg/registry/core/node/storage/storage.go index faf741ebbc2..54c6b400dc0 100644 --- a/pkg/registry/core/node/storage/storage.go +++ b/pkg/registry/core/node/storage/storage.go @@ -96,7 +96,7 @@ func (r *StatusREST) ConvertToTable(ctx context.Context, object runtime.Object, var _ rest.SingularNameProvider = &StatusREST{} func (r *StatusREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/status" } // NewStorage returns a NodeStorage object that will work against nodes. diff --git a/pkg/registry/core/persistentvolume/storage/storage.go b/pkg/registry/core/persistentvolume/storage/storage.go index 6809f1ee2ba..63014aa2667 100644 --- a/pkg/registry/core/persistentvolume/storage/storage.go +++ b/pkg/registry/core/persistentvolume/storage/storage.go @@ -114,5 +114,5 @@ func (r *StatusREST) ConvertToTable(ctx context.Context, object runtime.Object, var _ rest.SingularNameProvider = &StatusREST{} func (r *StatusREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/status" } diff --git a/pkg/registry/core/persistentvolumeclaim/storage/storage.go b/pkg/registry/core/persistentvolumeclaim/storage/storage.go index b580693fc17..611fbc013ee 100644 --- a/pkg/registry/core/persistentvolumeclaim/storage/storage.go +++ b/pkg/registry/core/persistentvolumeclaim/storage/storage.go @@ -158,5 +158,5 @@ func (r *StatusREST) ConvertToTable(ctx context.Context, object runtime.Object, var _ rest.SingularNameProvider = &StatusREST{} func (r *StatusREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/status" } diff --git a/pkg/registry/core/pod/rest/log.go b/pkg/registry/core/pod/rest/log.go index bd81f585727..b3180f334ee 100644 --- a/pkg/registry/core/pod/rest/log.go +++ b/pkg/registry/core/pod/rest/log.go @@ -137,5 +137,5 @@ func (r *LogREST) OverrideMetricsVerb(oldVerb string) (newVerb string) { var _ rest.SingularNameProvider = &LogREST{} func (r *LogREST) GetSingularName() string { - return r.Store.GetSingularName() + return r.Store.GetSingularName() + "/log" } diff --git a/pkg/registry/core/pod/rest/subresources.go b/pkg/registry/core/pod/rest/subresources.go index c2bdfa5b4ad..6972a8fb80e 100644 --- a/pkg/registry/core/pod/rest/subresources.go +++ b/pkg/registry/core/pod/rest/subresources.go @@ -83,7 +83,7 @@ func (r *ProxyREST) Connect(ctx context.Context, id string, opts runtime.Object, var _ rest.SingularNameProvider = &ProxyREST{} func (r *ProxyREST) GetSingularName() string { - return r.Store.GetSingularName() + return r.Store.GetSingularName() + "/proxy" } // Support both GET and POST methods. We must support GET for browsers that want to use WebSockets. @@ -135,7 +135,7 @@ func (r *AttachREST) ConnectMethods() []string { var _ rest.SingularNameProvider = &AttachREST{} func (r *AttachREST) GetSingularName() string { - return r.Store.GetSingularName() + return r.Store.GetSingularName() + "/attach" } // ExecREST implements the exec subresource for a Pod @@ -184,7 +184,7 @@ func (r *ExecREST) ConnectMethods() []string { var _ rest.SingularNameProvider = &ExecREST{} func (r *ExecREST) GetSingularName() string { - return r.Store.GetSingularName() + return r.Store.GetSingularName() + "/exec" } // PortForwardREST implements the portforward subresource for a Pod @@ -234,7 +234,7 @@ func (r *PortForwardREST) Connect(ctx context.Context, name string, opts runtime var _ rest.SingularNameProvider = &PortForwardREST{} func (r *PortForwardREST) GetSingularName() string { - return r.Store.GetSingularName() + return r.Store.GetSingularName() + "/portforward" } func newThrottledUpgradeAwareProxyHandler(location *url.URL, transport http.RoundTripper, wrapTransport, upgradeRequired bool, responder rest.Responder) *proxy.UpgradeAwareHandler { diff --git a/pkg/registry/core/pod/storage/eviction.go b/pkg/registry/core/pod/storage/eviction.go index 87d3991b44a..70876530297 100644 --- a/pkg/registry/core/pod/storage/eviction.go +++ b/pkg/registry/core/pod/storage/eviction.go @@ -106,7 +106,7 @@ func (r *EvictionREST) Destroy() { var _ rest.SingularNameProvider = &EvictionREST{} func (r *EvictionREST) GetSingularName() string { - return "pod" + return "pod/eviction" } // Propagate dry-run takes the dry-run option from the request and pushes it into the eviction object. diff --git a/pkg/registry/core/pod/storage/storage.go b/pkg/registry/core/pod/storage/storage.go index ddcbde69e3d..6add1f57471 100644 --- a/pkg/registry/core/pod/storage/storage.go +++ b/pkg/registry/core/pod/storage/storage.go @@ -167,7 +167,7 @@ func (r *BindingREST) Destroy() { var _ rest.SingularNameProvider = &BindingREST{} func (r *BindingREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/binding" } var _ = rest.NamedCreater(&BindingREST{}) @@ -289,7 +289,7 @@ func (r *LegacyBindingREST) Destroy() { var _ rest.SingularNameProvider = &LegacyBindingREST{} func (r *LegacyBindingREST) GetSingularName() string { - return r.bindingRest.GetSingularName() + return r.bindingRest.GetSingularName() + "/binding" } // Create ensures a pod is bound to a specific host. @@ -341,7 +341,7 @@ func (r *StatusREST) ConvertToTable(ctx context.Context, object runtime.Object, var _ rest.SingularNameProvider = &StatusREST{} func (r *StatusREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/status" } // EphemeralContainersREST implements the REST endpoint for adding EphemeralContainers @@ -377,5 +377,5 @@ func (r *EphemeralContainersREST) Update(ctx context.Context, name string, objIn var _ rest.SingularNameProvider = &EphemeralContainersREST{} func (r *EphemeralContainersREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/ephemeralcontainers" } diff --git a/pkg/registry/core/replicationcontroller/storage/storage.go b/pkg/registry/core/replicationcontroller/storage/storage.go index e21d599379a..d8d6fcf124b 100644 --- a/pkg/registry/core/replicationcontroller/storage/storage.go +++ b/pkg/registry/core/replicationcontroller/storage/storage.go @@ -162,7 +162,7 @@ func (r *StatusREST) ConvertToTable(ctx context.Context, object runtime.Object, var _ rest.SingularNameProvider = &StatusREST{} func (r *StatusREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/status" } type ScaleREST struct { @@ -226,7 +226,7 @@ func (r *ScaleREST) ConvertToTable(ctx context.Context, object runtime.Object, t var _ rest.SingularNameProvider = &ScaleREST{} func (r *ScaleREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/scale" } func toScaleCreateValidation(f rest.ValidateObjectFunc) rest.ValidateObjectFunc { diff --git a/pkg/registry/core/resourcequota/storage/storage.go b/pkg/registry/core/resourcequota/storage/storage.go index 25f7e93c5e3..214ccdddecc 100644 --- a/pkg/registry/core/resourcequota/storage/storage.go +++ b/pkg/registry/core/resourcequota/storage/storage.go @@ -113,5 +113,5 @@ func (r *StatusREST) ConvertToTable(ctx context.Context, object runtime.Object, var _ rest.SingularNameProvider = &StatusREST{} func (r *StatusREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/status" } diff --git a/pkg/registry/core/service/proxy.go b/pkg/registry/core/service/proxy.go index c64caf5935a..92cf50ef199 100644 --- a/pkg/registry/core/service/proxy.go +++ b/pkg/registry/core/service/proxy.go @@ -80,7 +80,7 @@ func (r *ProxyREST) Connect(ctx context.Context, id string, opts runtime.Object, var _ rest.SingularNameProvider = &ProxyREST{} func (r *ProxyREST) GetSingularName() string { - return "service" + return "service/proxy" } func newThrottledUpgradeAwareProxyHandler(location *url.URL, transport http.RoundTripper, wrapTransport, upgradeRequired bool, responder rest.Responder) *proxy.UpgradeAwareHandler { diff --git a/pkg/registry/core/service/storage/storage.go b/pkg/registry/core/service/storage/storage.go index bcacad89044..179614ab062 100644 --- a/pkg/registry/core/service/storage/storage.go +++ b/pkg/registry/core/service/storage/storage.go @@ -199,7 +199,7 @@ func (r *StatusREST) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set { var _ rest.SingularNameProvider = &StatusREST{} func (r *StatusREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/status" } // We have a lot of functions that take a pair of "before" and "after" or diff --git a/pkg/registry/core/serviceaccount/storage/token.go b/pkg/registry/core/serviceaccount/storage/token.go index b59bb8d764c..1a78da264f2 100644 --- a/pkg/registry/core/serviceaccount/storage/token.go +++ b/pkg/registry/core/serviceaccount/storage/token.go @@ -52,7 +52,7 @@ func (r *TokenREST) Destroy() { var _ rest.SingularNameProvider = &TokenREST{} func (r *TokenREST) GetSingularName() string { - return "serviceaccount" + return "serviceaccount/token" } type TokenREST struct { diff --git a/pkg/registry/flowcontrol/flowschema/storage/storage.go b/pkg/registry/flowcontrol/flowschema/storage/storage.go index 380b309004f..73d662e9d33 100644 --- a/pkg/registry/flowcontrol/flowschema/storage/storage.go +++ b/pkg/registry/flowcontrol/flowschema/storage/storage.go @@ -112,5 +112,5 @@ func (r *StatusREST) ConvertToTable(ctx context.Context, object runtime.Object, var _ rest.SingularNameProvider = &StatusREST{} func (r *StatusREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/status" } diff --git a/pkg/registry/flowcontrol/prioritylevelconfiguration/storage/storage.go b/pkg/registry/flowcontrol/prioritylevelconfiguration/storage/storage.go index 0943814184f..e64e29ebcb8 100644 --- a/pkg/registry/flowcontrol/prioritylevelconfiguration/storage/storage.go +++ b/pkg/registry/flowcontrol/prioritylevelconfiguration/storage/storage.go @@ -112,5 +112,5 @@ func (r *StatusREST) ConvertToTable(ctx context.Context, object runtime.Object, var _ rest.SingularNameProvider = &StatusREST{} func (r *StatusREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/status" } diff --git a/pkg/registry/networking/ingress/storage/storage.go b/pkg/registry/networking/ingress/storage/storage.go index 8ca09f81014..28789e148bf 100644 --- a/pkg/registry/networking/ingress/storage/storage.go +++ b/pkg/registry/networking/ingress/storage/storage.go @@ -111,5 +111,5 @@ func (r *StatusREST) ConvertToTable(ctx context.Context, object runtime.Object, var _ rest.SingularNameProvider = &StatusREST{} func (r *StatusREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/status" } diff --git a/pkg/registry/networking/networkpolicy/storage/storage.go b/pkg/registry/networking/networkpolicy/storage/storage.go index cb453485f00..3cfbda1e905 100644 --- a/pkg/registry/networking/networkpolicy/storage/storage.go +++ b/pkg/registry/networking/networkpolicy/storage/storage.go @@ -109,5 +109,5 @@ func (r *StatusREST) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set { var _ rest.SingularNameProvider = &StatusREST{} func (r *StatusREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/status" } diff --git a/pkg/registry/policy/poddisruptionbudget/storage/storage.go b/pkg/registry/policy/poddisruptionbudget/storage/storage.go index 260645c88be..bf1b93f5d20 100644 --- a/pkg/registry/policy/poddisruptionbudget/storage/storage.go +++ b/pkg/registry/policy/poddisruptionbudget/storage/storage.go @@ -108,5 +108,5 @@ func (r *StatusREST) ConvertToTable(ctx context.Context, object runtime.Object, var _ rest.SingularNameProvider = &StatusREST{} func (r *StatusREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/status" } diff --git a/pkg/registry/storage/volumeattachment/storage/storage.go b/pkg/registry/storage/volumeattachment/storage/storage.go index 76fd823dab0..7265b8d9411 100644 --- a/pkg/registry/storage/volumeattachment/storage/storage.go +++ b/pkg/registry/storage/volumeattachment/storage/storage.go @@ -116,5 +116,5 @@ func (r *StatusREST) ConvertToTable(ctx context.Context, object runtime.Object, var _ rest.SingularNameProvider = &StatusREST{} func (r *StatusREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/status" } diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/etcd.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/etcd.go index 75b1323ca6e..f6be9d84c0e 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/etcd.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/etcd.go @@ -222,5 +222,5 @@ func (r *StatusREST) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set { var _ rest.SingularNameProvider = &StatusREST{} func (r *StatusREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/status" } diff --git a/staging/src/k8s.io/kube-aggregator/pkg/registry/apiservice/etcd/etcd.go b/staging/src/k8s.io/kube-aggregator/pkg/registry/apiservice/etcd/etcd.go index 624e47b82b2..2dfd18ccf07 100644 --- a/staging/src/k8s.io/kube-aggregator/pkg/registry/apiservice/etcd/etcd.go +++ b/staging/src/k8s.io/kube-aggregator/pkg/registry/apiservice/etcd/etcd.go @@ -172,5 +172,5 @@ func (r *StatusREST) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set { } func (r *StatusREST) GetSingularName() string { - return r.store.GetSingularName() + return r.store.GetSingularName() + "/status" }