unexport noderolekey

pull/6441/head
Medya Gh 2020-01-30 21:05:51 -08:00
parent 968fe86869
commit a6ec05e35a
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ func CreateContainerNode(p CreateParams) error {
// label the node with the cluster ID
"--label", p.ClusterLabel,
// label the node with the role ID
"--label", fmt.Sprintf("%s=%s", NodeRoleKey, p.Role),
"--label", fmt.Sprintf("%s=%s", nodeRoleKey, p.Role),
}
for key, val := range p.Envs {

View File

@ -22,7 +22,7 @@ const (
// ClusterLabelKey is applied to each node docker container for identification
ClusterLabelKey = "io.x-k8s.kic.cluster"
// NodeRoleKey is used to identify if it is control plane or worker
NodeRoleKey = "io.k8s.sigs.kic.role"
nodeRoleKey = "io.k8s.sigs.kic.role"
)
type CreateParams struct {