Skip to content

Panic in helm.sh/helm/v3/pkg/chartutil.ValidateAgainstSchema #31202

@wmcnamee-coreweave

Description

@wmcnamee-coreweave

What happened?

https://github.com/helm/helm/blob/release-3.18/pkg/chartutil/jsonschema.go#L85

this can result in a panic:

panic: interface conversion: interface {} is nil, not map[string]interface {}

What did you expect to happen?

no panic

How can we reproduce it (as minimally and precisely as possible)?

I don't currently have a concise set of repro steps

Helm version

Details ```console $ helm version # paste output here ```

Kubernetes version

Details
$ kubectl version
# paste output here

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugCategorizes issue or PR as related to a bug.good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions