For the complete documentation index, see llms.txt.
Skip to main content
Version: 8.9

Helm values schema validation

Learn how Helm checks values against the Camunda 8 chart schema, how to bypass the check, and which deployment tools support the bypass.

The Camunda 8 Helm chart includes a values.schema.json file. Helm compares your values to this schema before it renders the chart templates. A value that doesn't match the schema stops the command.

How the validation works​

  • Helm checks the merged values against values.schema.json before it renders templates.
  • A schema error stops helm install, helm upgrade, helm template, and helm lint.
  • Helm has no warn-only mode. Each schema error is a hard failure.
  • The chart documentation links and descriptions don't appear in Helm errors.
  • The chart schema closes some objects. A closed object rejects any key that the schema doesn't list.

The error text depends on the Helm version. This example comes from a test chart that closes its root object, with the unknown key unk:

Helm versionError text
3.10 to 3.19- (root): Additional property unk is not allowed
3.20 and later, and 4.x- at '': additional properties 'unk' not allowed

Fix the values first​

Fix the values that the error names. This is the recommended action. The bypass removes a safety check.

To find problems before you run Helm, use the validate command of the Camunda Helm Toolkit. The toolkit page lists its exit codes.

Don't remove orchestration.fullnameOverride to fix a schema error. This change renames the StatefulSet. The brokers then start on new, empty volumes.

Bypass the validation​

Validate your overrides before you bypass schema validation

Use the Camunda Helm Toolkit to check your values.yaml overrides for incorrect types, unsupported or deprecated settings, and configuration issues. Fix the findings before you turn off the schema validation.

Add the --skip-schema-validation flag to helm install, helm upgrade, helm template, or helm lint:

helm upgrade --install camunda camunda/camunda-platform \
--values values.yaml \
--skip-schema-validation

Keep these limits in mind:

  • You need Helm 3.16.0 or later. Helm 3.15 returns Error: unknown flag: --skip-schema-validation. Helm 4 supports the same flag.
  • The flag turns off all schema checks, including type checks. It doesn't only allow unknown keys.
  • Camunda hasn't decided to turn on strict validation by default. This page describes the current behavior.

Check support in your deployment tool​

Camunda tested these tools, except Pulumi, on a kind cluster with a test chart that has a strict schema.

ToolBypass possibleSettingTested versionAdded in
HelmYes--skip-schema-validation3.16.0, 4.3.03.16.0
helm-diffYes--skip-schema-validation3.15.153.9.12
HelmfileYesskipSchemaValidation: true for a release, or in helmDefaults1.8.10.169.2 (host Helm 3.16 or later)
Argo CDYesspec.source.helm.skipSchemaValidation: true3.5.42.14.0
Flux helm-controllerYesspec.install.disableSchemaValidation and spec.upgrade.disableSchemaValidation1.6.51.1.0 (Flux 2.4.0)
Terraform hashicorp/helmNoNo option. Terraform returns Unsupported argument.3.3.0Not applicable
Kustomize helmChartsNoNo option.5.8.1Not applicable
Pulumi KubernetesNo documented optionNot tested. See pulumi-kubernetes#4635.Not testedNot applicable

For Terraform, a workaround is to use a local copy of the chart without values.schema.json. This workaround removes all schema checks.

For more information, see these upstream references:

Known issues​

Parent charts and global values​

Helm passes the global values of a parent chart to each subchart. If a subchart schema closes its global object, Helm rejects the keys that the subchart doesn't list. The Camunda chart keeps its global object open, so this issue doesn't apply to the Camunda chart schema.

Choose a Helm version​

Camunda recommends Helm CLI v4 and supports it for the full Camunda 8.9 release cycle. Camunda supports Helm CLI v3 (3.10 or later) until February 10, 2027, when upstream support ends. After February 10, 2027, Camunda no longer supports Helm CLI v3. Customers who continue to use Helm CLI v3 after that date do so at their own risk.

If you need the bypass, use Helm 3.16.0 or later.