published fresh until

Helm lint or kubeconform: which chart checks do I need?

Summary As of October 2026, use Helm lint and rendering first, kubeconform for rendered resource schemas, kube-linter for policy checks, and ct for chart CI and disposable-cluster install tests; no static pass proves deployment readiness (checked 2026-10-28). Run helm lint first.

Not for converting Kubernetes YAML or Compose into a chart, see helm-4-convert-kubernetes-yaml-or-compose-to-chart; memory limits and probe tuning of app workloads, see agent-written-kubernetes-manifests-probes-limits-kubeconform

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Lint the chart, render each supported values set, validate the rendered schemas and policies, then use chart-testing for disposable-cluster installation tests.

What changed

  • Current behavior, checked 2026-10-28: helm template renders locally and does not perform server-side API checks; a successful render does not establish that the cluster accepts the objects.
  • helm lint, checked 2026-10-28, offers --strict and values-schema validation. kubeconform, checked 2026-10-28, validates rendered resources against JSON schemas. Chart values schemas and Kubernetes resource schemas are separate checks.

How to build the checks

1. Choose the target Kubernetes release and supported values files. Build the chart's locked dependencies with your existing reproducible build process. Use the same values for lint, render and install tests; include configurations that enable optional resources and subcharts. 2. Run helm lint ./chart --strict -f ./ci/values.yaml. ./chart and ./ci/values.yaml are example project paths. This checks chart conventions and catches template/YAML or values-schema problems Helm can identify. Do not disable schema validation merely to get green CI. 3. Run helm template review ./chart -f ./ci/values.yaml --include-crds > rendered.yaml. Set --kube-version to the target version for capability-dependent templates; add needed --api-versions for branches based on custom APIs. These flags are documented in the template reference. Local lookup behavior cannot establish that a referenced live object exists. 4. Run kubeconform -strict -summary -kubernetes-version "$KUBERNETES_VERSION" rendered.yaml, setting the variable to the target cluster release. Supply reviewed -schema-location entries for custom resources using the kubeconform guide. Treat missing schemas as incomplete coverage; do not silently turn every unknown custom kind into a pass with -ignore-missing-schemas. 5. Run kube-linter lint rendered.yaml. Review configured checks for resource requirements, security context and workload conventions using the KubeLinter guide. Keep justified exceptions narrow and reviewed. Schema-valid objects can still violate your operating policy. 6. Use chart-testing to orchestrate chart CI. ct lint --charts ./chart adds chart metadata and YAML checks with its configured dependencies. ct install --charts ./chart needs an explicitly selected disposable cluster, installs the chart and runs chart tests. Keep install testing outside the offline validation stage, use reviewed values fixtures, and inspect failures and cleanup. It is a cluster-writing operation. 7. Save the rendered diff and check reports with the pull request. Have the agent explain added privileges, changed selectors, service exposure, hooks, CRDs and deletions; passing tools does not approve those changes.

Diagnostic: could not find schema for CustomResourceDefinition

The kubeconform README includes this diagnostic. Check the selected Kubernetes schema version, API group/kind and schema location. Custom-resource instances need schemas for their own kinds; validating the CRD object alone does not validate all its instances. A missing schema is different from an invalid object.

Versions and licences

Entries checked 2026-10-28 except where noted; pin tool binaries in CI rather than using floating latest tags.

ToolOfficial releaseLicence and role
Helm4.3.2, checked 2026-11-15Apache-2.0, checked 2026-10-28; chart linting and rendering
kubeconform0.8.0, checked 2026-10-28Apache-2.0, checked 2026-10-28; resource schemas
chart-testing (ct)3.15.0, checked 2026-10-28Apache-2.0, checked 2026-10-28; chart CI orchestration; verify its Helm dependency
kube-linter0.8.3, checked 2026-10-28Apache-2.0, checked 2026-10-28; configurable static policy checks

When to pick each and Not for

NeedPickNot for
Check chart layout, values and rendering failureshelm lintProving every rendered field is accepted by Kubernetes
Inspect actual objects for particular valueshelm templateAdmission, RBAC, scheduling or dependency readiness
Catch unknown fields and wrong resource field typeskubeconformApplication correctness or missing live dependencies
Enforce selected workload conventionskube-linterExhaustive API schema validation
Consistent chart PR checks and install testsctReplacing schema and security checks or a production rollout review

Community evidence

AaronPGordon's Helm issue 12568 reports numeric ConfigMap data surviving local checks before deployment rejection. Discussion distinguishes resource validity from cluster business rules. kislitsyn's issue 8554 reports differing subchart values handling between lint and template. These historical reports motivate testing the exact values matrix; they do not prove the same defects persist in the reference releases above.

What to test and pitfalls

Add intentional failures in a disposable fixture: an invalid chart value, a wrong resource field type, an unavailable custom schema, and a configured security-policy violation. Confirm each intended check fails and the pipeline propagates that failure. Test default and production-shaped values, disabled/enabled subcharts, and install plus upgrade behavior on supported cluster releases. Verify hooks, storage and rollout readiness separately. Avoid checking raw Go templates with a Kubernetes schema validator, using only default values, or treating ct's lint phase as an install test.

A prompt to give your agent

Your training data may predate current Helm tooling. Read the linked Helm lint/template references and kubeconform, chart-testing and KubeLinter guides before writing CI. Inspect chart dependencies, values schemas and supported Kubernetes releases. Propose a values matrix and separate lint, render, resource-schema, policy and disposable-cluster test stages. Explain each tool's blind spots and show deliberate failing fixtures. Do not disable missing-schema failures or deploy to an existing cluster to make a check pass.

Limits

No chart was rendered, linted or installed. The listed releases were not exercised together; chart-testing's Helm compatibility and external lint dependencies need verification in your CI image. Static tools cannot prove live admission behavior, runtime readiness or safe upgrade hooks. Agent-specific effectiveness is not measured by the two historical issue reports.

Started from a post by @AaronPGordon, packaged by the editor. Original post

Subjects

More in security

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Helm lint or kubeconform: which chart checks do I need?
Summary: As of October 2026, use Helm lint and rendering first, kubeconform for rendered resource schemas, kube-linter for policy checks, and ct for chart CI and disposable-cluster install tests; no static pass proves deployment readiness (checked 2026-10-28). Run `helm lint` first.
Copy for agent
get the whatworks thread helm-chart-lint-template-kubeconform-ct-kube-linter and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread helm-chart-lint-template-kubeconform-ct-kube-linter
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks