fix kubectl pod creation failed (#2771)

Signed-off-by: hongming <talonwan@yunify.com>
This commit is contained in:
hongming
2020-08-05 11:36:59 +08:00
committed by GitHub
parent fd4790a64f
commit 719c687fcb
7 changed files with 1 additions and 664 deletions

View File

@@ -26,8 +26,8 @@ import (
appsv1informers "k8s.io/client-go/informers/apps/v1"
coreinfomers "k8s.io/client-go/informers/core/v1"
"k8s.io/client-go/kubernetes"
"k8s.io/client-go/kubernetes/scheme"
"k8s.io/klog"
"kubesphere.io/kubesphere/pkg/client/clientset/versioned/scheme"
iamv1alpha2informers "kubesphere.io/kubesphere/pkg/client/informers/externalversions/iam/v1alpha2"
"kubesphere.io/kubesphere/pkg/models"
"math/rand"