Set the name of the current cluster into the kubesphere-config configmap

This commit is contained in:
Xinzhao Xu
2022-02-16 17:54:20 +08:00
parent 970780993e
commit e966a1da6f
6 changed files with 85 additions and 45 deletions

View File

@@ -31,6 +31,8 @@ const (
IngressControllerNamespace = KubeSphereControlNamespace
AdminUserName = "admin"
IngressControllerPrefix = "kubesphere-router-"
KubeSphereConfigName = "kubesphere-config"
KubeSphereConfigMapDataKey = "kubesphere.yaml"
ClusterNameLabelKey = "kubesphere.io/cluster"
NameLabelKey = "kubesphere.io/name"