mirror of
https://github.com/rancher/types.git
synced 2025-07-31 04:49:37 +00:00
Merge pull request #24 from galal-hussein/add_ssh_key_path
Add ssh private key path to rke config
This commit is contained in:
commit
421faeabc8
@ -116,6 +116,8 @@ type RancherKubernetesEngineConfig struct {
|
||||
Authentication AuthConfig `yaml:"auth" json:"auth,omitempty"`
|
||||
// YAML manifest for user provided addons to be deployed on the cluster
|
||||
Addons string `yaml:"addons" json:"addons,omitempty"`
|
||||
// SSH Private Key Path
|
||||
SSHKeyPath string `yaml:"ssh_key_path" json:"sshKeyPath,omitempty"`
|
||||
}
|
||||
|
||||
type RKEConfigHost struct {
|
||||
|
@ -6,6 +6,7 @@ const (
|
||||
RancherKubernetesEngineConfigFieldAuthentication = "authentication"
|
||||
RancherKubernetesEngineConfigFieldHosts = "hosts"
|
||||
RancherKubernetesEngineConfigFieldNetwork = "network"
|
||||
RancherKubernetesEngineConfigFieldSSHKeyPath = "sshKeyPath"
|
||||
RancherKubernetesEngineConfigFieldServices = "services"
|
||||
)
|
||||
|
||||
@ -14,5 +15,6 @@ type RancherKubernetesEngineConfig struct {
|
||||
Authentication AuthConfig `json:"authentication,omitempty"`
|
||||
Hosts []RKEConfigHost `json:"hosts,omitempty"`
|
||||
Network NetworkConfig `json:"network,omitempty"`
|
||||
SSHKeyPath string `json:"sshKeyPath,omitempty"`
|
||||
Services RKEConfigServices `json:"services,omitempty"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user