add network crd doc gen

Signed-off-by: runzexia <runzexia@yunify.com>
This commit is contained in:
runzexia
2019-07-31 11:48:48 +08:00
parent 34ddd34944
commit f8d3b22750
8 changed files with 13706 additions and 43 deletions

View File

@@ -0,0 +1,12 @@
package crdinstall
import (
k8sruntime "k8s.io/apimachinery/pkg/runtime"
urlruntime "k8s.io/apimachinery/pkg/util/runtime"
networkv1alpha1 "kubesphere.io/kubesphere/pkg/apis/network/v1alpha1"
)
func Install(scheme *k8sruntime.Scheme) {
urlruntime.Must(networkv1alpha1.AddToScheme(scheme))
urlruntime.Must(scheme.SetVersionPriority(networkv1alpha1.SchemeGroupVersion))
}