diff --git a/pkg/models/gateway/gateway.go b/pkg/models/gateway/gateway.go index 1506e24f3..6ad50ba2a 100644 --- a/pkg/models/gateway/gateway.go +++ b/pkg/models/gateway/gateway.go @@ -47,7 +47,7 @@ import ( ) const ( - MasterLabel = "node-role.kubernetes.io/master" + MasterLabel = "node-role.kubernetes.io/control-plane" SidecarInject = "sidecar.istio.io/inject" gatewayPrefix = "kubesphere-router-" workingNamespace = "kubesphere-controls-system"