Porting helm fixes#818
Open
desmax74 wants to merge 1 commit into
Open
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuidePorts and generalizes the storage PVC template and wires storage configuration into the migrate-database init Job, including Helm hook annotations and volume/env wiring. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- Moving the PVC template from
services/serverintotemplates/commonand removing the.Values.modules.server.enabledguard will make this PVC render for all modules; if the PVC is meant to be server-specific, consider reintroducing a more targeted condition. - With the new
helm.sh/resource-policy: keepannotation on the PVC, consider whether you also want a separate cleanup or migration path documented in values or charts, since Helm will no longer manage deletion of this resource. - The migrate-database Job now always includes storage volumes and env vars; if storage is only applicable for certain configurations or
storage.typevalues, you may want to wrap these includes with the same condition used around the PVC to avoid unnecessary or inconsistent volume definitions.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Moving the PVC template from `services/server` into `templates/common` and removing the `.Values.modules.server.enabled` guard will make this PVC render for all modules; if the PVC is meant to be server-specific, consider reintroducing a more targeted condition.
- With the new `helm.sh/resource-policy: keep` annotation on the PVC, consider whether you also want a separate cleanup or migration path documented in values or charts, since Helm will no longer manage deletion of this resource.
- The migrate-database Job now always includes storage volumes and env vars; if storage is only applicable for certain configurations or `storage.type` values, you may want to wrap these includes with the same condition used around the PVC to avoid unnecessary or inconsistent volume definitions.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Collaborator
Author
ctron
reviewed
May 20, 2026
ctron
left a comment
There was a problem hiding this comment.
So this might work during an (initial) installation. But does it also work on an upgrade?
Signed-off-by: desmax74 <mdessi@redhat.com>
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
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.
See this guacsec/trustify-helm-charts#89
Summary by Sourcery
Port PVC handling and storage integration fixes into the common Helm templates for the trusted profile analyzer chart.
Enhancements: