1
0
mirror of https://github.com/rancher/types.git synced 2025-08-31 04:40:56 +00:00

Merge pull request #42 from galal-hussein/add_cluster_ssh_key

Add cluster level ssh key path
This commit is contained in:
Alena Prokharchyk
2017-12-04 09:27:43 -08:00
committed by GitHub
2 changed files with 4 additions and 0 deletions

View File

@@ -122,6 +122,8 @@ type RancherKubernetesEngineConfig struct {
Addons string `yaml:"addons" json:"addons,omitempty"`
// List of images used internally for proxy, cert downlaod and kubedns
RKEImages map[string]string `yaml:"rke_images" json:"rke_images,omitempty"`
// SSH Private Key Path
SSHKeyPath string `yaml:"ssh_key_path" json:"sshKeyPath,omitempty"`
}
type RKEConfigNode struct {

View File

@@ -7,6 +7,7 @@ const (
RancherKubernetesEngineConfigFieldNetwork = "network"
RancherKubernetesEngineConfigFieldNodes = "nodes"
RancherKubernetesEngineConfigFieldRKEImages = "rke_images"
RancherKubernetesEngineConfigFieldSSHKeyPath = "sshKeyPath"
RancherKubernetesEngineConfigFieldServices = "services"
)
@@ -16,5 +17,6 @@ type RancherKubernetesEngineConfig struct {
Network *NetworkConfig `json:"network,omitempty"`
Nodes []RKEConfigNode `json:"nodes,omitempty"`
RKEImages map[string]string `json:"rke_images,omitempty"`
SSHKeyPath string `json:"sshKeyPath,omitempty"`
Services *RKEConfigServices `json:"services,omitempty"`
}