diff --git a/apis/management.cattle.io/v3/alerting_types.go b/apis/management.cattle.io/v3/alerting_types.go index 39d8ed46..43132f81 100755 --- a/apis/management.cattle.io/v3/alerting_types.go +++ b/apis/management.cattle.io/v3/alerting_types.go @@ -359,7 +359,7 @@ type SMTPConfig struct { Password string `json:"password,omitempty" norman:"type=password"` Sender string `json:"sender,omitempty" norman:"required"` DefaultRecipient string `json:"defaultRecipient,omitempty" norman:"required"` - TLS bool `json:"tls,omitempty" norman:"required,default=true"` + TLS *bool `json:"tls,omitempty" norman:"required,default=true"` } type SlackConfig struct { diff --git a/apis/management.cattle.io/v3/logging_types.go b/apis/management.cattle.io/v3/logging_types.go index d08ad53e..e17827e2 100644 --- a/apis/management.cattle.io/v3/logging_types.go +++ b/apis/management.cattle.io/v3/logging_types.go @@ -177,7 +177,7 @@ type FluentForwarderConfig struct { ClientKey string `json:"clientKey,omitempty"` ClientKeyPass string `json:"clientKeyPass,omitempty"` SSLVerify bool `json:"sslVerify,omitempty"` - Compress bool `json:"compress,omitempty" norman:"default=true"` + Compress *bool `json:"compress,omitempty" norman:"default=true"` FluentServers []FluentServer `json:"fluentServers,omitempty" norman:"required"` } diff --git a/apis/management.cattle.io/v3/machine_types.go b/apis/management.cattle.io/v3/machine_types.go index dbcf6be4..a434d18d 100644 --- a/apis/management.cattle.io/v3/machine_types.go +++ b/apis/management.cattle.io/v3/machine_types.go @@ -246,7 +246,7 @@ type NodeCommonParams struct { EngineLabel map[string]string `json:"engineLabel,omitempty"` EngineStorageDriver string `json:"engineStorageDriver,omitempty"` EngineEnv map[string]string `json:"engineEnv,omitempty"` - UseInternalIPAddress bool `json:"useInternalIpAddress,omitempty" norman:"default=true,noupdate"` + UseInternalIPAddress *bool `json:"useInternalIpAddress,omitempty" norman:"default=true,noupdate"` } type NodeDriver struct { @@ -327,7 +327,7 @@ type NodeDrainInput struct { Force bool `yaml:"force" json:"force,omitempty"` // If there are DaemonSet-managed pods, drain will not proceed without IgnoreDaemonSets set to true // (even when set to true, kubectl won't delete pods - so setting default to true) - IgnoreDaemonSets bool `yaml:"ignore_daemonsets" json:"ignoreDaemonSets,omitempty" norman:"default=true"` + IgnoreDaemonSets *bool `yaml:"ignore_daemonsets" json:"ignoreDaemonSets,omitempty" norman:"default=true"` // Continue even if there are pods using emptyDir DeleteLocalData bool `yaml:"delete_local_data" json:"deleteLocalData,omitempty"` //Period of time in seconds given to each pod to terminate gracefully. diff --git a/apis/management.cattle.io/v3/rke_types.go b/apis/management.cattle.io/v3/rke_types.go index 09148adf..8aa65264 100644 --- a/apis/management.cattle.io/v3/rke_types.go +++ b/apis/management.cattle.io/v3/rke_types.go @@ -33,7 +33,7 @@ type RancherKubernetesEngineConfig struct { // Authorization mode configuration used in the cluster Authorization AuthzConfig `yaml:"authorization" json:"authorization,omitempty"` // Enable/disable strict docker version checking - IgnoreDockerVersion bool `yaml:"ignore_docker_version" json:"ignoreDockerVersion" norman:"default=true"` + IgnoreDockerVersion *bool `yaml:"ignore_docker_version" json:"ignoreDockerVersion" norman:"default=true"` // Kubernetes version to use (if kubernetes image is specifed, image version takes precedence) Version string `yaml:"kubernetes_version" json:"kubernetesVersion,omitempty"` // List of private registries and their credentials