You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR Review — feat: helm config for prod (WPB-26095)
Thanks for this! The change is small and focused. I reviewed the diff against the chart templates and the rest of the repo. Overall it looks good and ready to merge with a few minor points to consider.
What looks good
WIRE_SDK_ENVIRONMENT removal is consistent. I grepped the codebase and the variable isn't referenced in any source, so dropping it from .env.sample, values.yaml, and NOTES.txt is a clean, complete removal — no dangling references left behind.
Pinned image tag for prod. tag: sha-9a03ad7 is the right call for prod (immutable/reproducible) versus the default latest. It also matches the tag format produced by staging.yml (type=sha,format=short produces sha-<short>), so it resolves correctly.
No secrets in plaintext. DB_PASSWORD, SDK_APP_TOKEN, and CRYPTO_PASSWORD stay in the secretKeyRef path in statefulset.yaml; only non-sensitive config landed in values-prod.yaml. Good separation.
Things worth considering
Helm replaces lists wholesale — keep env in sync. Helm overrides arrays rather than deep-merging by index, so values-prod.yaml's env block fully replaces the one in values.yaml. Today both list the same 4 keys, so it's fine — but if someone later adds a 5th env var to values.yaml, prod will silently NOT get it. Worth a note that they must be kept in sync (or, longer term, templating env so prod only overrides values it actually changes).
Infra details committed to a public repo. The prod Aurora endpoint (apps-prod-aurora-pg.cluster-...rds.amazonaws.com) and SDK_APP_ID are now in plaintext in a public repo. These aren't secrets and the DB isn't externally reachable, but it is internal-topology disclosure. The file comment already flags the intent to move this to argocd-integrations once ArgoCd is set up for prod — that move is the right home for it, so I'd just make sure this is genuinely a temporary stopgap.
Filename vs. comment/description mismatch. The file is values-prod.yaml but both the in-file comment and the PR description call it values-prod.yml. Minor, but worth aligning to avoid confusion.
Default image.repository: pollapp is registry-less. Not introduced by this PR, but worth noting: the base values.yaml uses a bare pollapp while prod uses the full quay.io/wire/poll-app. Staging/default deploys therefore depend on an override existing somewhere — might be worth normalizing the default too.
Tests
No test coverage applies here — this is deploy-time config. I confirmed staging.yml only builds/pushes the image and doesn't consume these values files (presumably ArgoCd/manual helm does), so there's nothing to wire up in CI for this change.
Nice, tidy change overall — the points above are mostly nits plus a maintainability heads-up on the env list merge behavior.
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
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.
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764The PR Description
What's new in this PR?
Issues
Helm setup for staging but not prod
Solutions
Remove outdated config for old authentication and put the values-prod.yml here, while waiting for ArgoCd in prod
PR Post Submission Checklist for internal contributors (Optional)
PR Post Merge Checklist for internal contributors
References
feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.