Skip to content

Commit e8b3406

Browse files
waleedlatif1claude
andcommitted
fix(helm): keep the kind overlay out of ct's fixture glob
ct treats every `ci/*-values.yaml` as a standalone values set and lints each on its own. kind-values.yaml is not one — it is an overlay layered on default-values.yaml, so linting it alone renders the chart with every required secret empty and trips the validateSecrets guards. That does not fail the build today: helm lint reports a failed `required` at INFO and still returns 0 charts failed. But it is noise in the log, and the job only stays green while helm lint keeps classifying it that way. Renamed to ci/kind-overlay.yaml, outside the glob, with a comment recording why the suffix is absent. No secrets duplicated; the install job layers it on default-values.yaml exactly as before. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017TknQyteeUDn6xi94sH71Y
1 parent affff42 commit e8b3406

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/helm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ jobs:
183183
helm install sim helm/sim \
184184
--namespace sim --create-namespace \
185185
--values helm/sim/ci/default-values.yaml \
186-
--values helm/sim/ci/kind-values.yaml \
186+
--values helm/sim/ci/kind-overlay.yaml \
187187
--wait --timeout 15m
188188
189189
- name: Diagnostics on failure
@@ -262,7 +262,7 @@ jobs:
262262
# (detect-version in ci.yml), so appVersion legitimately names a release
263263
# that does not exist yet while that release is still being built. Failing
264264
# on any mismatch would race that workflow and block the very publish the
265-
# bump was for. `helm/sim/ci/kind-values.yaml` documents the same
265+
# bump was for. `helm/sim/ci/kind-overlay.yaml` documents the same
266266
# circularity, and it is why appVersion went unbumped for so long.
267267
#
268268
# Compares against the latest GitHub release rather than a hardcoded value
Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1-
# CI-only overlay for the kind install test: shrink resource requests so the
1+
# CI-only OVERLAY for the kind install test: shrink resource requests so the
22
# default configuration schedules on a small CI runner. Layered on top of
3-
# ci/default-values.yaml. Dummy sizing — never use in a deployment.
3+
# ci/default-values.yaml, which carries the dummy secrets this file omits.
4+
# Dummy sizing — never use in a deployment.
5+
#
6+
# Deliberately NOT named `*-values.yaml`: that is the glob `ct lint` treats as a
7+
# standalone values set, and it would render this partial overlay on its own,
8+
# with every required secret empty. Keep the suffix off unless this file becomes
9+
# self-sufficient.
410

511
# Pin every first-party image to the published :latest rather than letting the
612
# tag default to Chart.AppVersion. appVersion names the release the chart ships

0 commit comments

Comments
 (0)