1
0
mirror of https://github.com/rancher/types.git synced 2025-09-16 23:08:25 +00:00

Adding version field to rke config

This commit is contained in:
Nathan Jenan
2018-01-23 14:21:18 -07:00
committed by Darren Shepherd
parent 5b3ea113ed
commit 4c5fd3782a
2 changed files with 4 additions and 0 deletions

View File

@@ -19,6 +19,8 @@ type RancherKubernetesEngineConfig struct {
Authorization AuthzConfig `yaml:"authorization" json:"authorization,omitempty"`
// Enable/disable strict docker version checking
IgnoreDockerVersion bool `yaml:"ignore_docker_version" json:"ignoreDockerVersion"`
// Kubernetes version to use (overrides individual Images)
Version string `yaml:"kubernetesVersion"`
}
type RKEConfigNode struct {

View File

@@ -11,6 +11,7 @@ const (
RancherKubernetesEngineConfigFieldSSHKeyPath = "sshKeyPath"
RancherKubernetesEngineConfigFieldServices = "services"
RancherKubernetesEngineConfigFieldSystemImages = "systemImages"
RancherKubernetesEngineConfigFieldVersion = "version"
)
type RancherKubernetesEngineConfig struct {
@@ -23,4 +24,5 @@ type RancherKubernetesEngineConfig struct {
SSHKeyPath string `json:"sshKeyPath,omitempty"`
Services *RKEConfigServices `json:"services,omitempty"`
SystemImages map[string]string `json:"systemImages,omitempty"`
Version string `json:"version,omitempty"`
}