1
0
mirror of https://github.com/rancher/types.git synced 2025-09-18 16:10:58 +00:00

Add ssh private key path to rke config

This commit is contained in:
galal-hussein
2017-11-21 21:40:46 +02:00
parent efe8c45673
commit e101c8738a
2 changed files with 4 additions and 0 deletions

View File

@@ -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 {

View File

@@ -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"`
}