-
Notifications
You must be signed in to change notification settings - Fork 42k
Description
What would you like to be added:
Migrate ownerReferences that refer to deprecated/no-longer-served Kubernetes API versions to current apiVersions
Why is this needed:
Objects can be created with ownerReferences pointing at apiVersion/kind combinations which are no longer served and/or have moved API groups. Once those apiVersions are no longer accessible, the live lookups done by the garbage collector will not succeed, and those objects will no longer be cleaned up by the garbage collector.
For example replace ownerReferences with apiVersion: extensions/v1beta1, kind: {Daemonset,Deployment,ReplicaSet,StatefulSet} with apiVersion: apps/v1beta1, kind: {Daemonset,Deployment,ReplicaSet,StatefulSet}
Follow up from review of #92743
/sig api-machinery
/cc @deads2k