mirror of
https://github.com/rancher/types.git
synced 2025-09-18 07:52:41 +00:00
Merge pull request #283 from cloudnautique/update_rke_global_and_node_ssh_config
Add SSHAgentAuth boolean
This commit is contained in:
@@ -15,6 +15,8 @@ type RancherKubernetesEngineConfig struct {
|
||||
SystemImages RKESystemImages `yaml:"system_images" json:"systemImages,omitempty"`
|
||||
// SSH Private Key Path
|
||||
SSHKeyPath string `yaml:"ssh_key_path" json:"sshKeyPath,omitempty"`
|
||||
// SSH Agent Auth enable
|
||||
SSHAgentAuth bool `yaml:"ssh_agent_auth" json:"sshAgentAuth"`
|
||||
// Authorization mode configuration used in the cluster
|
||||
Authorization AuthzConfig `yaml:"authorization" json:"authorization,omitempty"`
|
||||
// Enable/disable strict docker version checking
|
||||
@@ -127,6 +129,8 @@ type RKEConfigNode struct {
|
||||
User string `yaml:"user" json:"user,omitempty"`
|
||||
// Optional - Docker socket on the node that will be used in tunneling
|
||||
DockerSocket string `yaml:"docker_socket" json:"dockerSocket,omitempty"`
|
||||
// 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"`
|
||||
// SSH Private Key Path
|
||||
|
@@ -10,6 +10,7 @@ const (
|
||||
RancherKubernetesEngineConfigFieldNetwork = "network"
|
||||
RancherKubernetesEngineConfigFieldNodes = "nodes"
|
||||
RancherKubernetesEngineConfigFieldPrivateRegistries = "privateRegistries"
|
||||
RancherKubernetesEngineConfigFieldSSHAgentAuth = "sshAgentAuth"
|
||||
RancherKubernetesEngineConfigFieldSSHKeyPath = "sshKeyPath"
|
||||
RancherKubernetesEngineConfigFieldServices = "services"
|
||||
RancherKubernetesEngineConfigFieldVersion = "kubernetesVersion"
|
||||
@@ -24,6 +25,7 @@ type RancherKubernetesEngineConfig struct {
|
||||
Network *NetworkConfig `json:"network,omitempty" yaml:"network,omitempty"`
|
||||
Nodes []RKEConfigNode `json:"nodes,omitempty" yaml:"nodes,omitempty"`
|
||||
PrivateRegistries []PrivateRegistry `json:"privateRegistries,omitempty" yaml:"privateRegistries,omitempty"`
|
||||
SSHAgentAuth bool `json:"sshAgentAuth,omitempty" yaml:"sshAgentAuth,omitempty"`
|
||||
SSHKeyPath string `json:"sshKeyPath,omitempty" yaml:"sshKeyPath,omitempty"`
|
||||
Services *RKEConfigServices `json:"services,omitempty" yaml:"services,omitempty"`
|
||||
Version string `json:"kubernetesVersion,omitempty" yaml:"kubernetesVersion,omitempty"`
|
||||
|
@@ -10,6 +10,7 @@ const (
|
||||
RKEConfigNodeFieldNodeId = "nodeId"
|
||||
RKEConfigNodeFieldPort = "port"
|
||||
RKEConfigNodeFieldRole = "role"
|
||||
RKEConfigNodeFieldSSHAgentAuth = "sshAgentAuth"
|
||||
RKEConfigNodeFieldSSHKey = "sshKey"
|
||||
RKEConfigNodeFieldSSHKeyPath = "sshKeyPath"
|
||||
RKEConfigNodeFieldUser = "user"
|
||||
@@ -24,6 +25,7 @@ type RKEConfigNode struct {
|
||||
NodeId string `json:"nodeId,omitempty" yaml:"nodeId,omitempty"`
|
||||
Port string `json:"port,omitempty" yaml:"port,omitempty"`
|
||||
Role []string `json:"role,omitempty" yaml:"role,omitempty"`
|
||||
SSHAgentAuth bool `json:"sshAgentAuth,omitempty" yaml:"sshAgentAuth,omitempty"`
|
||||
SSHKey string `json:"sshKey,omitempty" yaml:"sshKey,omitempty"`
|
||||
SSHKeyPath string `json:"sshKeyPath,omitempty" yaml:"sshKeyPath,omitempty"`
|
||||
User string `json:"user,omitempty" yaml:"user,omitempty"`
|
||||
|
Reference in New Issue
Block a user