fix: centralize backend paths and accept env var to define them, change deployments to centralize read only and writable volumes#1342
Merged
Conversation
rodageve
reviewed
Apr 6, 2026
3 tasks
rodageve
reviewed
Apr 6, 2026
rodageve
reviewed
Apr 6, 2026
mpawlow
requested changes
Apr 7, 2026
rodageve
approved these changes
Apr 7, 2026
mpawlow
approved these changes
Apr 7, 2026
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.
This pull request introduces a major storage refactoring and breaking changes to the OpenRAG Helm chart, consolidating several PersistentVolumeClaims (PVCs) and updating the configuration and deployment logic accordingly. It also adds a migration job to help users upgrade safely and updates the Helm chart version to
0.2.0. If you are upgrading from a previous version, please follow the migration instructions to avoid data loss.Major storage refactor and migration:
config,keys,documents) into newdataandsharedPVCs, simplifying volume management for the backend and Langflow components. Old PVCs are deprecated and should be deleted after migration. (kubernetes/helm/openrag/templates/backend/deployment.yaml[1] [2];kubernetes/helm/openrag/templates/langflow/deployment.yaml[3] [4];kubernetes/helm/openrag/templates/storage/backend-sc.yaml[5] [6];kubernetes/helm/openrag/templates/storage/config-pvc.yaml[7];kubernetes/helm/openrag/templates/storage/keys-pvc.yaml[8];kubernetes/helm/openrag/templates/storage/data-pvc.yaml[9]storage-migration) to copy existing config and keys to the new data volume during upgrade. This job must be enabled invalues.yamlwhen upgrading from older versions. (kubernetes/helm/openrag/templates/storage/migration-job.yaml[1];kubernetes/helm/openrag/templates/NOTES.txt[2]Deployment and configuration updates:
dataandsharedvolumes, and removed legacy volume mounts and related init containers. (kubernetes/helm/openrag/templates/backend/deployment.yaml[1] [2];kubernetes/helm/openrag/templates/langflow/deployment.yaml[3] [4]values.yaml, supporting custom directory layouts. (kubernetes/helm/openrag/templates/backend/backend-dotenv.yaml[1];.env.example[2];docker-compose.yml[3]Default data loading and flows:
sharedvolume and supporting robust download with retry mechanisms for flows. (kubernetes/helm/openrag/templates/backend/deployment.yamlkubernetes/helm/openrag/templates/backend/deployment.yamlL105-R177)backend.persistence.documents.enabledis removed; usebackend.persistence.documents.loadDefaults: falseinstead. (kubernetes/helm/openrag/templates/NOTES.txtkubernetes/helm/openrag/templates/NOTES.txtR80-R97)Versioning and documentation:
0.2.0and documented the breaking changes and migration steps in the release notes. (kubernetes/helm/openrag/Chart.yaml[1];kubernetes/helm/openrag/templates/NOTES.txt[2]Please review the release notes and migration instructions carefully before upgrading.