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

An error occurred during sitewhere-k8s installation #183

Open
MeiMJX opened this issue May 17, 2022 · 1 comment
Open

An error occurred during sitewhere-k8s installation #183

MeiMJX opened this issue May 17, 2022 · 1 comment

Comments

@MeiMJX
Copy link

MeiMJX commented May 17, 2022

I tried to install Sitewhere-k8s

1.Install SiteWhere from SiteWhere Kubernetes Repository
2. Clone the Repository
git clone https://github.com/sitewhere/sitewhere-k8s.git
3. Install SiteWhere
helm install sitewhere ./sitewhere
An error occurred while I was here:
[user@localhost sitewhere]$ helm lint
==> Linting .
[ERROR] Chart.yaml: unable to parse YAML
error converting YAML to JSON: yaml: line 2: mapping values are not allowed in this context
[ERROR] templates/: cannot load Chart.yaml: error converting YAML to JSON: yaml: line 2: mapping values are not allowed in this context
[ERROR] : unable to load chart
cannot load Chart.yaml: error converting YAML to JSON: yaml: line 2: mapping values are not allowed in this context

helm version
version.BuildInfo{Version:"v3.8.2", GitCommit:"6e3701edea09e5d55a8ca2aae03a68917630e91b", GitTreeState:"clean", GoVersion:"go1.17.5"}

minikube version
minikube version: v1.25.2
commit: 362d5fdc0a3dbee389b3d3f1034e8023e72bd3a7

@MeiMJX MeiMJX changed the title [user@localhost sitewhere]$ helm lint ==> Linting . [ERROR] Chart.yaml: unable to parse YAML error converting YAML to JSON: yaml: line 2: mapping values are not allowed in this context [ERROR] templates/: cannot load Chart.yaml: error converting YAML to JSON: yaml: line 2: mapping values are not allowed in this context [ERROR] : unable to load chart cannot load Chart.yaml: error converting YAML to JSON: yaml: line 2: mapping values are not allowed in this context An error occurred during sitewhere-k8s installation May 17, 2022
@ColeMurray
Copy link

👍, this is caused by a bad merge conflict in the Charts.yaml file:
https://github.com/sitewhere/sitewhere-k8s/blob/master/charts/sitewhere/Chart.yaml#L1

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

No branches or pull requests

2 participants