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

could not parse helm response with error: Unable to parse. #3

Closed
sfxworks opened this issue Jun 29, 2019 · 1 comment
Closed

could not parse helm response with error: Unable to parse. #3

sfxworks opened this issue Jun 29, 2019 · 1 comment

Comments

@sfxworks
Copy link

With the test of

var Promise = require("bluebird");

let helmBinary = '/usr/local/bin/helm';

if (process.platform === "win32") {
    helmBinary = 'helm';
}

const Helm = require("node-helm").Helm;
var helm = Promise.promisifyAll(new Helm({helmCommand: helmBinary}));

async function main()
{
    let options = {}; //No options available currently
    let releases = await helm.listAsync(options);  

    console.log(releases)
}

main();
-bash-4.2# helm version
Client: &version.Version{SemVer:"v2.13.0", GitCommit:"79d07943b03aea2b76c12644b4b54733bc5958d6", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.14.1", GitCommit:"5270352a09c7e8b6e8c9593002a73535276507c0", GitTreeState:"clean"}
@adibenmat
Copy link
Contributor

Hi,
Yes I used some generic parsing there it doesn't always works...
You can ignore the error

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