Validate clusterRole when adding a cluster (#5878)

This commit is contained in:
Xinzhao Xu
2023-08-22 14:04:58 +08:00
committed by GitHub
parent 32c5e8714d
commit 40e910bbc0
3 changed files with 14 additions and 14 deletions

View File

@@ -27,6 +27,9 @@ import (
const (
DefaultResyncPeriod = 120 * time.Second
DefaultHostClusterName = "host"
ClusterRoleHost = "host"
ClusterRoleMember = "member"
)
type Options struct {