Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a common finalizer for the reconcilers #433

Merged
merged 1 commit into from
Aug 17, 2023
Merged

Conversation

darkowlzz
Copy link
Contributor

@darkowlzz darkowlzz commented Aug 16, 2023

In #430, the new metric helper constructor was provided with ImageRepository finalizer only as the finalizer values are the same for both the reconcilers. This change introduces a common finalizer constant to avoid using one specific kind of finalizer.

Other controllers use a common constant for finalizers. In this repository, we have two separate constants with the same common value for the finalizer. Replace the two finalizer constants with a common finalizer for the controller.
Deprecate the kind specific finalizers from v1beta2 API.

@darkowlzz darkowlzz added the area/api API related issues and pull requests label Aug 16, 2023
Other controllers use a common constant for finalizers. In this
repository, we have two separate constants with the same common value
for the finalizer. Replace the two finalizer constants with a common
finalizer for the controller.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
@darkowlzz darkowlzz merged commit 0c5f73e into main Aug 17, 2023
6 checks passed
@darkowlzz darkowlzz deleted the common-finalizer branch August 17, 2023 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api API related issues and pull requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants