mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 01:06:27 +00:00
update comment on the default DeletionPropagationPolicy
This commit is contained in:
parent
67a6c68d77
commit
80686e67aa
@ -3090,8 +3090,9 @@ type DeleteOptions struct {
|
|||||||
OrphanDependents *bool
|
OrphanDependents *bool
|
||||||
|
|
||||||
// Whether and how garbage collection will be performed.
|
// Whether and how garbage collection will be performed.
|
||||||
// Defaults to Default.
|
|
||||||
// Either this field or OrphanDependents may be set, but not both.
|
// Either this field or OrphanDependents may be set, but not both.
|
||||||
|
// The default policy is decided by the existing finalizer set in the
|
||||||
|
// metadata.finalizers and the resource-specific default policy.
|
||||||
// +optional
|
// +optional
|
||||||
PropagationPolicy *DeletionPropagation
|
PropagationPolicy *DeletionPropagation
|
||||||
}
|
}
|
||||||
|
@ -3530,8 +3530,9 @@ type DeleteOptions struct {
|
|||||||
OrphanDependents *bool `json:"orphanDependents,omitempty" protobuf:"varint,3,opt,name=orphanDependents"`
|
OrphanDependents *bool `json:"orphanDependents,omitempty" protobuf:"varint,3,opt,name=orphanDependents"`
|
||||||
|
|
||||||
// Whether and how garbage collection will be performed.
|
// Whether and how garbage collection will be performed.
|
||||||
// Defaults to Default.
|
|
||||||
// Either this field or OrphanDependents may be set, but not both.
|
// Either this field or OrphanDependents may be set, but not both.
|
||||||
|
// The default policy is decided by the existing finalizer set in the
|
||||||
|
// metadata.finalizers and the resource-specific default policy.
|
||||||
// +optional
|
// +optional
|
||||||
PropagationPolicy *DeletionPropagation `protobuf:"bytes,4,opt,name=propagationPolicy,casttype=DeletionPropagation"`
|
PropagationPolicy *DeletionPropagation `protobuf:"bytes,4,opt,name=propagationPolicy,casttype=DeletionPropagation"`
|
||||||
}
|
}
|
||||||
|
@ -356,8 +356,9 @@ type DeleteOptions struct {
|
|||||||
OrphanDependents *bool `json:"orphanDependents,omitempty" protobuf:"varint,3,opt,name=orphanDependents"`
|
OrphanDependents *bool `json:"orphanDependents,omitempty" protobuf:"varint,3,opt,name=orphanDependents"`
|
||||||
|
|
||||||
// Whether and how garbage collection will be performed.
|
// Whether and how garbage collection will be performed.
|
||||||
// Defaults to Default.
|
|
||||||
// Either this field or OrphanDependents may be set, but not both.
|
// Either this field or OrphanDependents may be set, but not both.
|
||||||
|
// The default policy is decided by the existing finalizer set in the
|
||||||
|
// metadata.finalizers and the resource-specific default policy.
|
||||||
// +optional
|
// +optional
|
||||||
PropagationPolicy *DeletionPropagation `json:"propagationPolicy,omitempty" protobuf:"varint,4,opt,name=propagationPolicy"`
|
PropagationPolicy *DeletionPropagation `json:"propagationPolicy,omitempty" protobuf:"varint,4,opt,name=propagationPolicy"`
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user