From dde39c594a86f6929f13f89f3a92ae757a2f33d7 Mon Sep 17 00:00:00 2001 From: Daishan Peng Date: Tue, 12 Jun 2018 15:54:45 -0700 Subject: [PATCH] add label to customConfig --- apis/management.cattle.io/v3/machine_types.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apis/management.cattle.io/v3/machine_types.go b/apis/management.cattle.io/v3/machine_types.go index 9107810c..ff796cd3 100644 --- a/apis/management.cattle.io/v3/machine_types.go +++ b/apis/management.cattle.io/v3/machine_types.go @@ -166,7 +166,8 @@ type CustomConfig struct { // Optional - Docker socket on the node that will be used in tunneling DockerSocket string `yaml:"docker_socket" json:"dockerSocket,omitempty"` // SSH Private Key - SSHKey string `yaml:"ssh_key" json:"sshKey,omitempty"` + SSHKey string `yaml:"ssh_key" json:"sshKey,omitempty"` + Label map[string]string `yaml:"label" json:"label,omitempty"` } type NodeSpec struct {