-
Notifications
You must be signed in to change notification settings - Fork 563
fix: add vroom PVC Helm hooks when enable profiling feature #1950
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
Merged
Mokto
merged 1 commit into
sentry-kubernetes:develop
from
patsevanton:sentry-vroom-pvc2
Nov 22, 2025
Merged
fix: add vroom PVC Helm hooks when enable profiling feature #1950
Mokto
merged 1 commit into
sentry-kubernetes:develop
from
patsevanton:sentry-vroom-pvc2
Nov 22, 2025
Conversation
This file contains hidden or 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
Contributor
Author
|
check: |
1 task
Contributor
Author
|
@Mokto Could you review pull request? |
Mokto
approved these changes
Nov 22, 2025
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR addresses an issues 1947 and 1900 where the vroom Deployment was not being created when using
asHook: trueconfiguration, despite the PVC being properly annotated with Helm hooks. The problem occurred because the PVC was created with hook annotations, but the corresponding Deployment lacked the necessary hook metadata and the condition to generate it was not met.Changes Made:
charts/sentry/templates/sentry/vroom/deployment-vroom.yaml,charts/sentry/templates/sentry/vroom/pvc-vroom.yaml):meta.helm.sh/release-nameandmeta.helm.sh/release-namespaceannotations.helm.sh/hookwith valuepost-install,post-upgrade.helm.sh/hook-weightto ensure the PVC weight25.Root Cause:
The vroom Deployment template is conditionally included only when:
feature-completeis in theprofileslistsentry.features.enableProfilingistrueHowever, when using
asHook: true, the Deployment was not being generated because:enableProfiling: false).Verification & Testing Instructions:
Important: To verify this fix works, you must test with a configuration where
sentry.features.enableProfilingis set totrue. This is the key condition for the vroom Deployment to be rendered.Test Values:
Before this fix:
The vroom Deployment would not be created, leaving the Helm release in a
pending-installstate.After this fix:
With the correct values (notably
enableProfiling: true), the vroom Deployment and PVC are now properly created with Helm hook annotations.The generated manifests will correctly include both the PVC and the Deployment with proper Helm hook annotations, ensuring they are managed as post-install/post-upgrade hooks when
asHook: trueis configured.