mirror of
https://github.com/rancher/rke.git
synced 2025-08-14 21:14:04 +00:00
Revert "set ignoreDaemonsets field as nonnullable"
This reverts commit 998c4fd72d
.
This commit is contained in:
parent
44805a9381
commit
2e727c856d
@ -880,7 +880,7 @@ type NodeDrainInput struct {
|
|||||||
Force bool `yaml:"force" json:"force,omitempty"`
|
Force bool `yaml:"force" json:"force,omitempty"`
|
||||||
// If there are DaemonSet-managed pods, drain will not proceed without IgnoreDaemonSets set to true
|
// 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)
|
// (even when set to true, kubectl won't delete pods - so setting default to true)
|
||||||
IgnoreDaemonSets *bool `yaml:"ignore_daemonsets" json:"ignoreDaemonSets,omitempty" norman:"notnullable,default=true"`
|
IgnoreDaemonSets *bool `yaml:"ignore_daemonsets" json:"ignoreDaemonSets,omitempty" norman:"default=true"`
|
||||||
// Continue even if there are pods using emptyDir
|
// Continue even if there are pods using emptyDir
|
||||||
DeleteLocalData bool `yaml:"delete_local_data" json:"deleteLocalData,omitempty"`
|
DeleteLocalData bool `yaml:"delete_local_data" json:"deleteLocalData,omitempty"`
|
||||||
//Period of time in seconds given to each pod to terminate gracefully.
|
//Period of time in seconds given to each pod to terminate gracefully.
|
||||||
|
Loading…
Reference in New Issue
Block a user