Remove references to 'pkg/apis/componentconfig/install' and fix inconsistencies

This commit is contained in:
Lucas Käldström
2018-08-09 18:45:27 +03:00
parent a224e53dab
commit e50340ee23
15 changed files with 196 additions and 214 deletions

View File

@@ -70,6 +70,4 @@ func Install(scheme *runtime.Scheme) {
scheduling.Install(scheme)
settings.Install(scheme)
storage.Install(scheme)
ExtraInstall(scheme)
}

View File

@@ -1,27 +0,0 @@
/*
Copyright 2017 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package scheme
import (
"k8s.io/apimachinery/pkg/runtime"
componentconfig "k8s.io/kubernetes/pkg/apis/componentconfig/install"
)
func ExtraInstall(scheme *runtime.Scheme) {
// componentconfig is an apigroup, but we don't have an API endpoint because its objects are just embedded in ConfigMaps.
componentconfig.Install(scheme)
}