Code Monkey home page Code Monkey logo

helm-servecm's Introduction

helm servecm plugin

A drop-in replacement for helm serve which starts a ChartMuseum web server.

Install

$ helm plugin install https://github.com/jdolitsky/helm-servecm
Installed plugin: servecm

If ChartMuseum is not installed, it will ask to install the latest stable release upon use:

$ helm servecm
ChartMuseum not installed. Install latest stable release? (type "yes"): yes
Attempting to install ChartMuseum server (v0.4.2)...
Detected your os as "darwin"
+ curl -LO https://s3.amazonaws.com/chartmuseum/release/v0.4.2/bin/darwin/amd64/chartmuseum

Usage

Pass in the same args you would use for ChartMuseum:

$ helm servecm --help

S3 bucket example (bucket containing nothing but drupal-0.9.1.tgz):

$ export DEBUG=1  # this is needed if you want debug, helm steals the flag
$ helm servecm --port=8879 --context-path=/charts \
  --storage="amazon" \
  --storage-amazon-bucket="my-s3-bucket" \
  --storage-amazon-prefix="" \
  --storage-amazon-region="us-east-1"
2018-03-22T17:42:45.815-0500	DEBUG	Fetching chart list from storage
2018-03-22T17:42:46.893-0500	DEBUG	Regenerating index.yaml
2018-03-22T17:42:46.893-0500	DEBUG	Loading charts packages from storage (this could take awhile)	{"total": 1}
2018-03-22T17:42:46.974-0500	DEBUG	Adding chart to index	{"name": "drupal", "version": "0.9.1"}
2018-03-22T17:42:46.974-0500	DEBUG	index.yaml regenerated
2018-03-22T17:42:46.974-0500	INFO	Starting ChartMuseum	{"port": 8879}

Then use with Helm CLI:

helm repo add local http://127.0.0.1:8879/charts
helm install local/drupal

Credits

Project layout taken from adamreese/helm-nuke.

helm-servecm's People

Contributors

jdolitsky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.