NatLabRockies / NatLabRockies/openstudio-server-helm
Helm: web init waitForDb settings defined in values are not used
Nobody has claimed this yet.
- Dominant language
- Go Template
- Stars
- 12
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
Summary
values.yaml and values.schema.json define web.initContainer knobs (image, waitForDb.maxAttempts, waitForDb.retryDelaySeconds), but templates/web/web-deploy.yaml currently hardcodes the init container behavior.
Current behavior
- Init container image is hardcoded to
alpine - DB wait loop is hardcoded to
seq 1 300andsleep 3 - value knobs are ignored at render time
Expected behavior
- Template should read:
web.initContainer.image(with sane default)web.initContainer.waitForDb.maxAttemptsweb.initContainer.waitForDb.retryDelaySeconds
Why this matters
This is a configuration drift/footgun: operators may tune these values in overlays and assume they are active, but runtime behavior remains fixed.
Suggested fix
Wire the web init container command/image to the existing values fields and preserve current defaults (300 attempts, 3s delay) when unset.
Acceptance criteria
helm templateoutput changes when those values are overridden.- Defaults match current behavior if not overridden.
scripts/install-dry-run.shchecks pass.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with values.yaml, values.schema.json, and templates/web/web-deploy.yaml to trace the existing web init container settings and command. Render the chart with helm template using default and overridden values, then run scripts/install-dry-run.sh. Done means overrides affect the image, maximum attempts, and retry delay while defaults remain 300 attempts and 3 seconds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- helm
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 78/100