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

[v0.10] Fix helm.sh/resource-policy being added to everything and not just CRDs #2875

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

thardeck
Copy link
Contributor

@thardeck thardeck commented Sep 18, 2024

When deleteCRDResources was disabled (default), the helm.sh/resource-policy annotation was added to almost all resources instead of just to the CRDs as it was intended. The fix is to not change the shared annotations that also get added to other resources, but only modify a copy that's only used for one resource.

Refers to #2860
Backport of #2850.

When `deleteCRDResources` was disabled (default), the
`helm.sh/resource-policy` annotation was added to almost all resources
instead of just to the CRDs as it was intended. The fix is to not change
the shared `annotations` that also get added to other resources, but
only modify a copy that's only used for one resource.

Fixes #2716
@thardeck thardeck self-assigned this Sep 18, 2024
@thardeck thardeck requested a review from a team as a code owner September 18, 2024 13:16
@weyfonk weyfonk merged commit 7740995 into release/v0.10 Sep 18, 2024
12 checks passed
@weyfonk weyfonk deleted the v0.10_fix_helm.sh-resource-policy branch September 18, 2024 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants