`Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: error validating "": error validating data: [ValidationError(Deployment.spec.template.spec.containers[0].resources): unknown field "limit" in io.k8s.api.core.v1.ResourceRequirements]`
BeginnerTroubleshootingValues, Schema & Type Errors
Answer
Likely causes → A typo in a values block passed through toYaml (limit instead of limits).
Diagnose → yq '.api.resources' values*.yaml.
Fix → Correct the key.
Prevent → Schema for resources (or reference the Kubernetes JSON schema), plus kubeconform -strict in CI.
More on Values, Schema & Type Errors
`Error: values don't meet the specifications of the schema(s) in the following chart(s): shop: - api.replicaCount: Invalid type. Expected: integer, given: string`Beginner`Error: values don't meet the specifications of the schema(s) in the following chart(s): shop: - (root): Additional property replicacount is not allowed`Beginner`Error: values don't meet the specifications of the schema(s) in the following chart(s): shop-postgres: - auth: password is required` but you did set `postgres.auth.password`.Advanced`Error: failed parsing --set data: key "b.example.com" has no value`Beginner`Error: failed to parse values-prod.yaml: error converting YAML to JSON: yaml: line 12: found character that cannot start any token`Beginner`coalesce.go:286: warning: cannot overwrite table with non table for shop.api.resources (map[limits:map[memory:256Mi]])`Intermediate