kestra-io / helm-charts

Apache License 2.0
26 stars 25 forks source link

Helm Lint failed with errors #25

Open pjainan opened 8 months ago

pjainan commented 8 months ago

Expected Behavior

Ideally there shouldn't be any error after executing Helm Lint.

Actual Behaviour

helm lint .\charts\kestra\
==> Linting .\charts\kestra\
[ERROR] Chart.yaml: chart type is not valid in apiVersion 'v1'. It is valid in apiVersion 'v2'
[ERROR] templates/: template: kestra/templates/secret.yaml:1:27: executing "kestra/templates/secret.yaml" at <include "kestra.k8s-config" $>: error calling include: template: kestra/templates/_helpers.tpl:95:30: executing "kestra.k8s-config" at <include "kestra.postgres.url" .>: error calling include: template: kestra/templates/_helpers.tpl:84:14: executing "kestra.postgres.url" at <$.Values.postgresql.primary.service.ports.postgresql>: nil pointer evaluating interface {}.ports

Steps To Reproduce

I downloaded the chart on my local system and then ran: helm lint command for the chart.

helm version:

helm version
version.BuildInfo{Version:"v3.9.4", GitCommit:"dbc6d8e20fe1d58d50e6ed30f09a04a77e4c68db", GitTreeState:"clean", GoVersion:"go1.17.13"}

I am using powershell.

Environment Information