change DefaultGarbageCollectionPolicy to DeleteDependents for workload controllers
This commit is contained in:
@@ -42,7 +42,7 @@ type eventStrategy struct {
|
||||
// Event objects via the REST API.
|
||||
var Strategy = eventStrategy{legacyscheme.Scheme, names.SimpleNameGenerator}
|
||||
|
||||
func (eventStrategy) DefaultGarbageCollectionPolicy() rest.GarbageCollectionPolicy {
|
||||
func (eventStrategy) DefaultGarbageCollectionPolicy(ctx genericapirequest.Context) rest.GarbageCollectionPolicy {
|
||||
return rest.Unsupported
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user