Skip to content

fix(helm): preserve the requested database volume size - #38

Open
youngkermit8-coder wants to merge 1 commit into
IvorySQL:mainfrom
youngkermit8-coder:codex/helm-data-storage
Open

youngkermit8-coder wants to merge 1 commit into
IvorySQL:mainfrom
youngkermit8-coder:codex/helm-data-storage

Conversation

@youngkermit8-coder

Copy link
Copy Markdown

The pgdata claim contains two spec mappings. The later mapping replaces pvc.storageSize with pvc.confStorageSize, so the default rendered database claim requests 16Mi instead of 1Gi. Remove the duplicate mapping, keeping the separate configuration claim unchanged.

Validation: python tests/test_helm_storage.py with Helm 3.19.0 and PyYAML: default claims request 1Gi/16Mi and overrides request 32Gi/64Mi. Both cases fail on the base revision and pass with the fix. helm lint also passes.

git diff --check passes. These are render-time regression tests; no live Kubernetes cluster deployment was run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant