Skip to content

kubeval of "helm create test-helm" fails #340

@gmacario

Description

@gmacario

Hello and apologies in advance if this is a newbie question.

I have been experiencing troubles in having kubeval validate even simple Helm charts - see aquariophilie/node-koa-boilerplate#9 as an example.

I managed to reproduce the problem with one of the easiest test I could think about

helm version
helm create test-helm

docker run -it \
    -v `pwd`/test-helm:/test-helm \
    garethr/kubeval test-helm/*

Here is the result:

gmacario@gmpowerhorse:~ $ helm version
version.BuildInfo{Version:"v3.7.0", GitCommit:"eeac83883cb4014fe60267ec6373570374ce770b", GitTreeState:"clean", GoVersion:"go1.16.8"}
gmacario@gmpowerhorse:~ $ helm create test-helm
Creating test-helm
gmacario@gmpowerhorse:~ $ docker run -it \
>     -v `pwd`/test-helm:/test-helm \
>     garethr/kubeval test-helm/*
ERR  - Could not open file test-helm/charts
ERR  - test-helm/Chart.yaml: Missing 'metadata' key
ERR  - Could not open file test-helm/templates
ERR  - test-helm/values.yaml: Missing 'metadata' key
gmacario@gmpowerhorse:~ $

You can find more details at aquariophilie/node-koa-boilerplate#7 and aquariophilie/node-koa-boilerplate#10

Thanks for your attention -- Gianpaolo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions