Giter Club home page Giter Club logo

helm-web-api's People

Contributors

dattachandan avatar eladiw avatar microsoftopensource avatar msftgits avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

helm-web-api's Issues

privateChartsRepo functionality if not working

Steps to Replicate:

curl -d '{"chartName":"chart-name", "releaseName":"chart-name-1", "privateChartsRepo":"https://<gs-bucket-name-helm-repo>.storage.googleapis.com/index.yaml"}' -H "Content-Type: application/json" -X POST http://<service-endpoint>:4000/install

Expected behavior:

should return success

Actual result:

{"status":"failed","reason":"Installation failed."}

"Error: Not Found" | when trying to post

Getting the below error when trying to post any releases or when trying to access the endpoint through the browser (helm 2.14.3 & kubectl 1.16.0):

Error: Not Found
at /usr/src/index.js:140:15
at Layer.handle [as handle_request] (/usr/src/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/usr/src/node_modules/express/lib/router/index.js:317:13)
at /usr/src/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/usr/src/node_modules/express/lib/router/index.js:335:12)
at next (/usr/src/node_modules/express/lib/router/index.js:275:10)
at urlencodedParser (/usr/src/node_modules/body-parser/lib/types/urlencoded.js:91:7)
at Layer.handle [as handle_request] (/usr/src/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/usr/src/node_modules/express/lib/router/index.js:317:13)
at /usr/src/node_modules/express/lib/router/index.js:284:7

Custom values not working

Custom values provided are ignored, because the check on whether values are set is inverted.


I think the this keyword should be omitted, because it is in a static method and I am not sure what it refers to here.

A follow up issue is that the sample code uses a url-encoded form to send the POST data, and the body parser does not seem to work well as it is. Using JSON encoding in the POST solves the issue.

Helm 3 Support

Does this work with helm 3? I noticed in the instructions it lists tiller, which is no longer used with helm 3.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.