Merge pull request #120 from richardxz/master

change kubectl pods' namespace from kubesphere to kubesphere-controls,and ensure delete kubectl-rs when user is deleted
This commit is contained in:
richardxz
2018-06-26 16:32:54 +08:00
committed by GitHub
5 changed files with 29 additions and 11 deletions

View File

@@ -34,6 +34,7 @@ import (
"k8s.io/client-go/tools/cache"
"kubesphere.io/kubesphere/pkg/client"
"kubesphere.io/kubesphere/pkg/constants"
"kubesphere.io/kubesphere/pkg/options"
)
@@ -42,7 +43,7 @@ const (
admin = "admin"
editor = "editor"
viewer = "viewer"
kubectlNamespace = "kubesphere"
kubectlNamespace = constants.KubeSphereControlNameSpace
kubectlConfigKey = "config"
openpitrix_runtime = "openpitrix_runtime"
)