mirror of
https://github.com/rancher/types.git
synced 2025-07-02 00:11:48 +00:00
Rename strict_docker_version
This commit is contained in:
parent
a13e5a1044
commit
aacf73a113
@ -18,7 +18,7 @@ type RancherKubernetesEngineConfig struct {
|
||||
// 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"`
|
||||
IgnoreDockerVersion bool `yaml:"ignore_docker_version" json:"ignoreDockerVersion"`
|
||||
}
|
||||
|
||||
type RKEConfigNode struct {
|
||||
|
@ -5,11 +5,11 @@ const (
|
||||
RancherKubernetesEngineConfigFieldAddons = "addons"
|
||||
RancherKubernetesEngineConfigFieldAuthentication = "authentication"
|
||||
RancherKubernetesEngineConfigFieldAuthorization = "authorization"
|
||||
RancherKubernetesEngineConfigFieldIgnoreDockerVersion = "ignoreDockerVersion"
|
||||
RancherKubernetesEngineConfigFieldNetwork = "network"
|
||||
RancherKubernetesEngineConfigFieldNodes = "nodes"
|
||||
RancherKubernetesEngineConfigFieldSSHKeyPath = "sshKeyPath"
|
||||
RancherKubernetesEngineConfigFieldServices = "services"
|
||||
RancherKubernetesEngineConfigFieldStrictDockerVersion = "strictDockerVersion"
|
||||
RancherKubernetesEngineConfigFieldSystemImages = "systemImages"
|
||||
)
|
||||
|
||||
@ -17,10 +17,10 @@ type RancherKubernetesEngineConfig struct {
|
||||
Addons string `json:"addons,omitempty"`
|
||||
Authentication *AuthnConfig `json:"authentication,omitempty"`
|
||||
Authorization *AuthzConfig `json:"authorization,omitempty"`
|
||||
IgnoreDockerVersion *bool `json:"ignoreDockerVersion,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