-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/upgrade: deleteResources: add Fixup hook and convert RemoveKfDefI…
…nstances Rewrite deleteResources() such a way, that it accept empty arrays in Path or Values to remove all the members of the received list and add Fixup memeber to JobSpec which is called on the unstructured object before Client.Delete() call. Convert RemoveKfDefInstances() to use deleteResources. It removes metadata.finalizers field before Delete(). Signed-off-by: Yauheni Kaliuta <[email protected]>
- Loading branch information
Showing
1 changed file
with
60 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters