✓ pass on PR3 (PR3 · custom readiness) · 0.0 s
Chart with only readiness-success annotation: helm lint fails.
Same test on other tiers: PR1 — n/aPR2 — n/aCombined ✓ pass
Requirements
R33 Both annotations are required; one alone falls back to kstatus, warns, and fails lint implemented
Bothhelm.sh/readiness-successandhelm.sh/readiness-failuremust both be provided to override the default readiness logic. If only one is present, Helm will fall back tokstatusand emit a warning. Helm will also fail linting when only one of the two is defined.HIP-0025, Readiness
The test needs these tier features: readiness.
What the test observed
The test asserts on these facts. Times come from the kube-apiserver audit log (UTC).
lint exit code
1
lint output
==> Linting charts/hip-readiness-basic [INFO] Chart.yaml: icon is recommended [ERROR] hip-readiness-basic/templates/probe.yaml: resource "Probe/probe" has only one of "helm.sh/readiness-success" / "helm.sh/readiness-failure" annotations; both must be present or absent together Error: 1 chart(s) linted, 1 chart(s) failed
Charts
The charts that the helm commands below read. This run did not keep chart archives, so the links go to the chart directories in the harness commit.
| Chart directory |
|---|
| charts/hip-readiness-basic |
Commands
Every command that the test ran, in order, with the start time, the exit code and the output. The paths are relative to the root of the repository.
18:42:37.621 $ kubectl --context kind-hip0025-e2e delete namespace e2e-pr3-only-success-annotation-fails-helm-lint --ignore-not-found --wait=true --timeout=120s [exit 0, 0.0s] 18:42:37.659 $ kubectl --context kind-hip0025-e2e create namespace e2e-pr3-only-success-annotation-fails-helm-lint [exit 0, 0.0s] namespace/e2e-pr3-only-success-annotation-fails-helm-lint created 18:42:37.694 $ .bin/helm-pr3 lint charts/hip-readiness-basic -f runs/20261005-184055/pr3/test_only_success_annotation_fails_helm_lint/lint-values.yaml --kube-context kind-hip0025-e2e [exit 1, 0.0s] ==> Linting charts/hip-readiness-basic [INFO] Chart.yaml: icon is recommended [ERROR] hip-readiness-basic/templates/probe.yaml: resource "Probe/probe" has only one of "helm.sh/readiness-success" / "helm.sh/readiness-failure" annotations; both must be present or absent together Error: 1 chart(s) linted, 1 chart(s) failed 18:42:37.733 $ kubectl --context kind-hip0025-e2e delete namespace e2e-pr3-only-success-annotation-fails-helm-lint --wait=false [exit 0, 0.0s] namespace "e2e-pr3-only-success-annotation-fails-helm-lint" deleted
lint-values.yaml
probe:
successExpressions:
- '{.phase} == Ready'
Files
| File | Size | Content |
|---|---|---|
| commands.log | 1.1 KB | the commands above |
| lint-values.yaml | 53 B | an input file of the test |
| observations.json | 444 B | the observations above, as JSON |