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

type field missing from chart schema #251

Closed
smlx opened this issue Aug 5, 2020 · 1 comment · Fixed by #252
Closed

type field missing from chart schema #251

smlx opened this issue Aug 5, 2020 · 1 comment · Fixed by #252

Comments

@smlx
Copy link
Contributor

smlx commented Aug 5, 2020

Is this a request for help?: No


Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT

Version of Helm and Kubernetes:

$ helm version
version.BuildInfo{Version:"v3.2.4", GitCommit:"0ad800ef43d3b826f31a5ad8dfbb4fe05d143688", GitTreeState:"clean", GoVersion:"go1.13.12"}

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.1", GitCommit:"7879fc12a63337efff607952a323df90cdc7a335", GitTreeState:"clean", BuildDate:"2020-04-08T17:38:50Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.2", GitCommit:"52c56ce7a8272c798dbc29846288d7cd9fbae032", GitTreeState:"clean", BuildDate:"2020-04-30T20:19:45Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}

$ ct version
Version:	 v3.0.0
Git commit:	 50db473a1e68c605b18d82f019d83ea401542213
Date:		 2020-07-24T20:35:05Z
License:	 Apache 2.0

What happened:
I created a PR which ran the chart-testing github action (https://github.com/helm/chart-testing-action). My chart failed with:

Error validating data '/workdir/charts/lagoon-core/Chart.yaml' with schema '/etc/ct/chart_schema.yaml'
	type: Unexpected element

What you expected to happen:
I expected my chart to pass the ct lint check.

How to reproduce it (as minimally and precisely as possible):
Run the chart-testing github action against a chart which has a type field.

Anything else we need to know:
n/a

@estahn
Copy link

estahn commented Dec 17, 2020

The following worked for me on MacOS:

rm -rf /usr/local/etc/ct
brew reinstall chart-testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants