mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-15 20:37:39 +00:00
make the resource prefix in etcd configurable for cohabitation
This commit is contained in:
@@ -32,7 +32,7 @@ type REST struct {
|
||||
|
||||
// NewREST returns a RESTStorage object that will work with ConfigMap objects.
|
||||
func NewREST(opts generic.RESTOptions) *REST {
|
||||
prefix := "/configmaps"
|
||||
prefix := "/" + opts.ResourcePrefix
|
||||
|
||||
newListFunc := func() runtime.Object { return &api.ConfigMapList{} }
|
||||
storageInterface := opts.Decorator(
|
||||
|
||||
Reference in New Issue
Block a user