microsoft / helm-web-api Goto Github PK
View Code? Open in Web Editor NEWEnabling applications in your Kubernetes cluster to programmatically install helm charts and expose them through a single public facing IP
License: MIT License
Enabling applications in your Kubernetes cluster to programmatically install helm charts and expose them through a single public facing IP
License: MIT License
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
should return success
{"status":"failed","reason":"Installation failed."}
Hi,
good project, but I've a question. In your examples you use the charts from k8s repo like nginx-ingress.
Can I use my charts, from local drive(mounted in pod) or from a web server?
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 provided are ignored, because the check on whether values are set is inverted.
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.
Does this work with helm 3? I noticed in the instructions it lists tiller, which is no longer used with helm 3.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.