Local helm repository

for preparing a local helm repository, user has to setup follows,

Install ChartMuseum/Helm-servecm/Helm-push plugins

  1. install ChartMuseum/Helm-servecm

    refer to official installation doc

  2. install Helm-push

    refer to official installation doc

Usage

  1. init a local repository

    $ helm servecm --port=8080 --storage="local" --storage-local-rootdir="/root/charts"
    2020-06-16T21:09:46.757+0800 INFO    Starting ChartMuseum    {"port": 8080}
    
  2. add local helm repository

    $ helm repo add local http://localhost:8080
    $ helm repo list
    NAME         URL
    local        http://localhost:8080
    
  3. push package into repository

    $ helm push charts/ros1-demo/ local
    $ helm repo update
    $ helm search repo
    NAME                 CHART VERSION   APP VERSION     DESCRIPTION
    local/ros1-demo      1.0.0           1.0.0           A ROS1 demo chart for Kubernetes
    

    then user can install ros1-demo by helm install