fix comment & add servicemesh gen
Signed-off-by: runzexia <runzexia@yunify.com>
This commit is contained in:
12
pkg/apis/servicemesh/crdinstall/install.go
Normal file
12
pkg/apis/servicemesh/crdinstall/install.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package crdinstall
|
||||
|
||||
import (
|
||||
k8sruntime "k8s.io/apimachinery/pkg/runtime"
|
||||
urlruntime "k8s.io/apimachinery/pkg/util/runtime"
|
||||
servicemeshv1alpha2 "kubesphere.io/kubesphere/pkg/apis/servicemesh/v1alpha2"
|
||||
)
|
||||
|
||||
func Install(scheme *k8sruntime.Scheme) {
|
||||
urlruntime.Must(servicemeshv1alpha2.AddToScheme(scheme))
|
||||
urlruntime.Must(scheme.SetVersionPriority(servicemeshv1alpha2.SchemeGroupVersion))
|
||||
}
|
||||
Reference in New Issue
Block a user