Skip to content

Lint & Render

Lint

Validate your spec without touching the cluster:

helm-me lint deploy.yaml
helm-me lint deploy.py

lint passing

Lint catches:

  • Missing required fields (image, port)
  • Invalid type values
  • Duplicate component names
  • YAML/Python syntax issues

Lint multiple specs:

helm-me lint examples/minimal/deploy.yaml
helm-me lint examples/full/deploy.yaml
helm-me lint examples/with_dbs/deploy.yaml

Render

Preview the exact Kubernetes manifests that will be applied:

helm-me render deploy.yaml
helm-me render deploy.py

rendered manifests

Pipe to kubectl

helm-me render deploy.yaml | kubectl apply --dry-run=client -f -

Render Python Specs

helm-me render deploy.py

Render with Parameters

NAMESPACE=production TAG=v2.0.0 helm-me render deploy.py

Compare with a Live Cluster (diff)

Use the dedicated diff command for a streamlined pre-deploy check:

helm-me diff deploy.yaml
helm-me diff deploy.yaml --namespace production

Or pipe render output manually:

helm-me render deploy.yaml | kubectl diff -f -

Tip

Use render or diff in CI to catch changes before they reach the cluster.