Skip to content

HelmChart values validations  #1267

Closed
@kuritka

Description

There can be a situation when the helm scheme and helm values are wrong. The helm chart is therefore valid , but the values are invalid against k8gb or crd module.

Implement tests so that it is not possible to specify an invalid helm-chart against executables.

Example:

# values.yaml
  coredns:
    extra_plugins: {}

We had a schema of type object and empty extra_plugins: {} passed the tests. The moment we used the value `extra_plugins: {log}``, the coreDNS launch failed because helm_template generated.

log: {} 

instead of

log

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions