Repository navigation
chore: ignore Helm subcharts fetched by dependency update - #122
Merged
Merged
Conversation
The chart landed in #103 declares a postgresql subchart, so anyone running helm dependency update (as the Helm Lint job does) ends up with an untracked deploy/helm/kaaval/charts/ holding the downloaded tarball. Nothing ignored it, which makes committing a vendored binary an easy accident. Scoped to deploy/helm/*/charts/ so future charts are covered too. Deliberately not addressing Chart.lock: committing it is the usual practice for application charts, but only alongside `helm dependency build` in CI — the current job runs `helm dependency update`, which re-resolves and rewrites the lock, making a committed one meaningless. That pairing is a call for whoever takes #97/#98. Signed-off-by: Vamshi Krishna Santhapuri <[email protected]>
Invigil —
|
| Gate | Check | Effort | Why | Fix |
|---|---|---|---|---|
| G4 | OpenSSF Scorecard >= 7 | hours | score 6.7 < 7 | triage the Scorecard findings (branch protection, token perms, pinned deps) to reach >=7 |
30 passing · 1 failing · 4 skipped · report-only
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.
Small follow-up to #103.
The chart declares a
postgresqlsubchart dependency, so runninghelm dependency update— which the Helm Lint job does, and which is required beforehelm lintsucceeds — leaves an untrackeddeploy/helm/kaaval/charts/containing the downloaded tarball. Nothing in.gitignorecovered it, making an accidental vendored-binary commit easy. I hit it myself while verifying #103 and #107.Scoped to
deploy/helm/*/charts/so any future chart is covered.Not addressed here:
Chart.lockCommitting
Chart.lockis the usual practice for application charts — it pins the resolved dependency digest, andChart.yamlcurrently specifies a15.x.xrange, so the exact postgresql version floats.But it only helps alongside
helm dependency buildin CI. The current job runshelm dependency update, which re-resolves the range and rewrites the lock, so a committed lockfile would be silently overwritten and buy nothing.That's a real decision (pin-and-build vs. float-and-update), not a cleanup, so I've left
Chart.lockuntracked and unignored rather than picking for the chart's owner. Noted on #97/#98 as part of finishing the chart.