mirror of
https://github.com/rancher/types.git
synced 2025-07-15 14:11:36 +00:00
Merge pull request #42 from galal-hussein/add_cluster_ssh_key
Add cluster level ssh key path
This commit is contained in:
commit
eb5154d777
@ -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 {
|
||||
|
@ -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"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user