mirror of
https://github.com/rancher/types.git
synced 2025-07-01 07:51:48 +00:00
Merge pull request #68 from moelsayed/docker_version_check
Add strict docker version check option
This commit is contained in:
commit
1031e3868c
@ -17,6 +17,8 @@ type RancherKubernetesEngineConfig struct {
|
||||
SSHKeyPath string `yaml:"ssh_key_path" json:"sshKeyPath,omitempty"`
|
||||
// Authorization mode configuration used in the cluster
|
||||
Authorization AuthzConfig `yaml:"authorization" json:"authorization,omitempty"`
|
||||
// Enable/disable strict docker version checking
|
||||
StrictDockerVersion bool `yaml:"strict_docker_version" json:"strictDockerVersion"`
|
||||
}
|
||||
|
||||
type RKEConfigNode struct {
|
||||
|
@ -1,24 +1,26 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
RancherKubernetesEngineConfigType = "rancherKubernetesEngineConfig"
|
||||
RancherKubernetesEngineConfigFieldAddons = "addons"
|
||||
RancherKubernetesEngineConfigFieldAuthentication = "authentication"
|
||||
RancherKubernetesEngineConfigFieldAuthorization = "authorization"
|
||||
RancherKubernetesEngineConfigFieldNetwork = "network"
|
||||
RancherKubernetesEngineConfigFieldNodes = "nodes"
|
||||
RancherKubernetesEngineConfigFieldSSHKeyPath = "sshKeyPath"
|
||||
RancherKubernetesEngineConfigFieldServices = "services"
|
||||
RancherKubernetesEngineConfigFieldSystemImages = "systemImages"
|
||||
RancherKubernetesEngineConfigType = "rancherKubernetesEngineConfig"
|
||||
RancherKubernetesEngineConfigFieldAddons = "addons"
|
||||
RancherKubernetesEngineConfigFieldAuthentication = "authentication"
|
||||
RancherKubernetesEngineConfigFieldAuthorization = "authorization"
|
||||
RancherKubernetesEngineConfigFieldNetwork = "network"
|
||||
RancherKubernetesEngineConfigFieldNodes = "nodes"
|
||||
RancherKubernetesEngineConfigFieldSSHKeyPath = "sshKeyPath"
|
||||
RancherKubernetesEngineConfigFieldServices = "services"
|
||||
RancherKubernetesEngineConfigFieldStrictDockerVersion = "strictDockerVersion"
|
||||
RancherKubernetesEngineConfigFieldSystemImages = "systemImages"
|
||||
)
|
||||
|
||||
type RancherKubernetesEngineConfig struct {
|
||||
Addons string `json:"addons,omitempty"`
|
||||
Authentication *AuthnConfig `json:"authentication,omitempty"`
|
||||
Authorization *AuthzConfig `json:"authorization,omitempty"`
|
||||
Network *NetworkConfig `json:"network,omitempty"`
|
||||
Nodes []RKEConfigNode `json:"nodes,omitempty"`
|
||||
SSHKeyPath string `json:"sshKeyPath,omitempty"`
|
||||
Services *RKEConfigServices `json:"services,omitempty"`
|
||||
SystemImages map[string]string `json:"systemImages,omitempty"`
|
||||
Addons string `json:"addons,omitempty"`
|
||||
Authentication *AuthnConfig `json:"authentication,omitempty"`
|
||||
Authorization *AuthzConfig `json:"authorization,omitempty"`
|
||||
Network *NetworkConfig `json:"network,omitempty"`
|
||||
Nodes []RKEConfigNode `json:"nodes,omitempty"`
|
||||
SSHKeyPath string `json:"sshKeyPath,omitempty"`
|
||||
Services *RKEConfigServices `json:"services,omitempty"`
|
||||
StrictDockerVersion *bool `json:"strictDockerVersion,omitempty"`
|
||||
SystemImages map[string]string `json:"systemImages,omitempty"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user