mirror of
https://github.com/rancher/types.git
synced 2025-06-27 22:16:48 +00:00
Add support for SSH certificate authentication
This commit is contained in:
parent
52a935b2d4
commit
40653ba993
@ -168,8 +168,10 @@ 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" norman:"type=password"`
|
||||
Label map[string]string `yaml:"label" json:"label,omitempty"`
|
||||
SSHKey string `yaml:"ssh_key" json:"sshKey,omitempty" norman:"type=password"`
|
||||
// SSH Certificate
|
||||
SSHCert string `yaml:"ssh_cert" json:"sshCert,omitempty"`
|
||||
Label map[string]string `yaml:"label" json:"label,omitempty"`
|
||||
}
|
||||
|
||||
type NodeSpec struct {
|
||||
|
@ -17,6 +17,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 Certificate Path
|
||||
SSHCertPath string `yaml:"ssh_cert_path" json:"sshCertPath,omitempty"`
|
||||
// SSH Agent Auth enable
|
||||
SSHAgentAuth bool `yaml:"ssh_agent_auth" json:"sshAgentAuth"`
|
||||
// Authorization mode configuration used in the cluster
|
||||
@ -62,6 +64,10 @@ type BastionHost struct {
|
||||
SSHKey string `yaml:"ssh_key" json:"sshKey,omitempty" norman:"type=password"`
|
||||
// SSH Private Key Path
|
||||
SSHKeyPath string `yaml:"ssh_key_path" json:"sshKeyPath,omitempty"`
|
||||
// SSH Certificate
|
||||
SSHCert string `yaml:"ssh_cert" json:"sshCert,omitempty"`
|
||||
// SSH Certificate Path
|
||||
SSHCertPath string `yaml:"ssh_cert_path" json:"sshCertPath,omitempty"`
|
||||
}
|
||||
|
||||
type PrivateRegistry struct {
|
||||
@ -155,6 +161,10 @@ type RKEConfigNode struct {
|
||||
SSHKey string `yaml:"ssh_key" json:"sshKey,omitempty" norman:"type=password"`
|
||||
// SSH Private Key Path
|
||||
SSHKeyPath string `yaml:"ssh_key_path" json:"sshKeyPath,omitempty"`
|
||||
// SSH Certificate
|
||||
SSHCert string `yaml:"ssh_cert" json:"sshCert,omitempty"`
|
||||
// SSH Certificate Path
|
||||
SSHCertPath string `yaml:"ssh_cert_path" json:"sshCertPath,omitempty"`
|
||||
// Node Labels
|
||||
Labels map[string]string `yaml:"labels" json:"labels,omitempty"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user