k8gb-io/k8gb

HelmChart values validations

kuritka opened this issue · 0 comments

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