question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Helm install validation failed

See original GitHub issue

Description

Not sure what happened, Helm installation worked last week and now it doesn’t:

helm upgrade --install che --namespace che -f ./values/multi-user.yaml ./
Release "che" does not exist. Installing it now.
Error: validation failed: error validating "": error validating data: [unknown object type "nil" in ConfigMap.data.CHE_INFRA_KUBERNETES_NAMESPACE, unknown object type "nil" in ConfigMap.data.CHE_LOGGER_CONFIG, unknown object type "nil" in ConfigMap.data.CHE_OAUTH_GITHUB_CLIENTID, unknown object type "nil" in ConfigMap.data.CHE_OAUTH_GITHUB_CLIENTSECRET, unknown object type "nil" in ConfigMap.data.CHE_WORKSPACE_HTTPS__PROXY, unknown object type "nil" in ConfigMap.data.CHE_WORKSPACE_HTTP__PROXY, unknown object type "nil" in ConfigMap.data.CHE_WORKSPACE_NO__PROXY]

I’m using default values.yaml straight from the repository. I don’t want to use anything GitHub related in my Che installation.

Reproduction Steps

git clone https://github.com/eclipse/che.git
cd che/deploy/kubernetes/helm/che
git checkout 6.19.4

Install Helm and Tiller according to: https://www.eclipse.org/che/docs/che-6/kubernetes-multi-user.html and then:

helm dependency update
helm upgrade --install che --namespace che -f ./values/multi-user.yaml ./

OS and version:
Helm client and server: v2.14.0 Eclipse Che tag 6.19.4

Diagnostics:

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
benoitfcommented, May 28, 2019

@pasmon it’s related to https://github.com/helm/helm/issues/5750 . (helm 2.13.1 --> 2.14.0) it’s fixed in master (just merged my PR)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Helm install v2.14.0 "validation failed" error when using a ...
Hello, After upgrading from v2.13.1 to v2.14.0, my chart now throws an error on helm install: Error: validation failed: error validating ...
Read more >
Helm 3 chart install error: error validating data: apiVersion not ...
This error means that the installation command was executed from wrong directory or wrong path to chart has been provided. In order to...
Read more >
Helm install step has validation error - Bugs - Codefresh
Hi there,. We've been in the process of doing helm 3 updates. I'm encountering an error that I can't seem to sort out....
Read more >
Helm Install
The install argument must be a chart reference, a path to a packaged chart, a path to an unpacked chart directory or a...
Read more >
Kubernetes Troubleshooting - Fixing Validation Error | Datree.io
When Kubernetes is unable to read and validate from the manifest, it displays a response message: `error validating data ValidationError `.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found