Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helm Linter fails with error: ' apiVersion is required' #591

Closed
jaydee101 opened this issue Mar 1, 2021 · 0 comments · Fixed by #608
Closed

Helm Linter fails with error: ' apiVersion is required' #591

jaydee101 opened this issue Mar 1, 2021 · 0 comments · Fixed by #608
Assignees
Labels
bug Something isn't working
Projects
Milestone

Comments

@jaydee101
Copy link

Description

When running helm lint on spring-boot-helm example from, it shows an error:

$ helm lint target/jkube/helm/spring-boot-helm/kubernetes
==> Linting target/jkube/helm/spring-boot-helm/kubernetes
[ERROR] Chart.yaml: apiVersion is required. The value must be either "v1" or "v2"
[INFO] Chart.yaml: icon is recommended

Info

  • Eclipse JKube version : 1.1.1
  • Maven version (mvn -v) : 3.6.3
  • Helm version 3.2.4
  • Kubernetes / Red Hat OpenShift setup and version : OpenShift 4.6.13 (but irrelevant for this issue)

How to reproduce :

$ git clone https://github.com/eclipse/jkube.git
$ cd jkube/quickstarts/maven/spring-boot-helm/
$ mvn k8s:resource k8s:helm -Pkubernetes
$ helm lint target/jkube/helm/spring-boot-helm/kubernetes
@manusa manusa added the bug Something isn't working label Mar 1, 2021
@manusa manusa added this to the 1.2.0 milestone Mar 1, 2021
@manusa manusa added this to Backlog in Sprint #198 Mar 2, 2021
@manusa manusa moved this from Backlog to Planned in Sprint #198 Mar 3, 2021
@manusa manusa self-assigned this Mar 8, 2021
@manusa manusa moved this from Planned to In progress in Sprint #198 Mar 8, 2021
@manusa manusa moved this from In progress to Review in Sprint #198 Mar 8, 2021
Sprint #198 automation moved this from Review to Done Mar 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Sprint #198
  
Done
Development

Successfully merging a pull request may close this issue.

2 participants