From 325dce50b65029b88f561ef2788419799ebf921e Mon Sep 17 00:00:00 2001 From: Daishan Peng Date: Wed, 5 Sep 2018 22:17:22 -0700 Subject: [PATCH] set sshKey as password --- apis/management.cattle.io/v3/rke_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/management.cattle.io/v3/rke_types.go b/apis/management.cattle.io/v3/rke_types.go index 162cadc5..3cb011e0 100644 --- a/apis/management.cattle.io/v3/rke_types.go +++ b/apis/management.cattle.io/v3/rke_types.go @@ -142,7 +142,7 @@ type RKEConfigNode struct { // SSH Agent Auth enable SSHAgentAuth bool `yaml:"ssh_agent_auth,omitempty" json:"sshAgentAuth,omitempty"` // SSH Private Key - SSHKey string `yaml:"ssh_key" json:"sshKey,omitempty"` + SSHKey string `yaml:"ssh_key" json:"sshKey,omitempty" norman:"type=password"` // SSH Private Key Path SSHKeyPath string `yaml:"ssh_key_path" json:"sshKeyPath,omitempty"` // Node Labels