Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle upgrade from older version which has pruner defaults
Before webhook we had default value for pruner's keep as 1 but we expect user to define all values now so if a user has installed prev version and has not enabled pruner then `keep` will have a value 1 and after upgrading to newer version, webhook will fail if keep has a value and other fields are not defined this handles that case by removing the default for keep if other pruner fields are not defined Signed-off-by: Shivam Mukhade <[email protected]>
- Loading branch information