Helmsman

A Helm Charts as Code tool.

Github星跟蹤圖

GitHub version CircleCI

helmsman-logo

Helmsman v3.0.0 works only with Helm versions >=3.0.0. For older Helm versions, use Helmsman v1.x

What is Helmsman?

Helmsman is a Helm Charts (k8s applications) as Code tool which allows you to automate the deployment/management of your Helm charts from version controlled code.

How does it work?

Helmsman uses a simple declarative TOML file to allow you to describe a desired state for your k8s applications as in the example toml file.
Alternatively YAML declaration is also acceptable example yaml file.

The desired state file (DSF) follows the desired state specification.

Helmsman sees what you desire, validates that your desire makes sense (e.g. that the charts you desire are available in the repos you defined), compares it with the current state of Helm and figures out what to do to make your desire come true.

To plan without executing:
$ helmsman -f example.toml

To plan and execute the plan:
$ helmsman --apply -f example.toml

To show debugging details:
$ helmsman --debug --apply -f example.toml

To run a dry-run:
$ helmsman --debug --dry-run -f example.toml

To limit execution to specific application:
$ helmsman --debug --dry-run --target artifactory -f example.toml

Features

  • Built for CD: Helmsman can be used as a docker image or a binary.
  • Applications as code: describe your desired applications and manage them from a single version-controlled declarative file.
  • Suitable for Multitenant Clusters: deploy Tiller in different namespaces with service accounts and TLS (versions 1.x).
  • Easy to use: deep knowledge of Helm CLI and Kubectl is NOT mandatory to use Helmsman.
  • Plan, View, apply: you can run Helmsman to generate and view a plan with/without executing it.
  • Portable: Helmsman can be used to manage charts deployments on any k8s cluster.
  • Protect Namespaces/Releases: you can define certain namespaces/releases to be protected against accidental human mistakes.
  • Define the order of managing releases: you can define the priorities at which releases are managed by helmsman (useful for dependencies).
  • Idempotency: As long your desired state file does not change, you can execute Helmsman several times and get the same result.
  • Continue from failures: In the case of partial deployment due to a specific chart deployment failure, fix your helm chart and execute Helmsman again without needing to rollback the partial successes first.

Install

From binary

Please make sure the following are installed prior to using helmsman as a binary (the docker image contains all of them):

  • kubectl
  • helm (helm >=v2.10.0 for helmsman >= 1.6.0, helm >=v3.0.0 for helmsman >=v3.0.0)
  • helm-diff (helmsman >= 1.6.0)

If you use private helm repos, you will need either helm-gcs or helm-s3 plugin or you can use basic auth to authenticate to your repos. See the docs for details.

Check the releases page for the different versions.

# on Linux
curl -L https://github.com/Praqma/helmsman/releases/download/v3.0.0/helmsman_3.0.0_linux_amd64.tar.gz, tar zx
# on MacOS
curl -L https://github.com/Praqma/helmsman/releases/download/v3.0.0/helmsman_3.0.0_darwin_amd64.tar.gz, tar zx

mv helmsman /usr/local/bin/helmsman

As a docker image

Check the images on dockerhub

As a package

Helmsman has been packaged in Archlinux under helmsman-bin for the latest binary release, and helmsman-git for master.

Documentation

Documentation for Helmsman v1.x can be found at: https://github.com/Praqma/helmsman/tree/1.x/docs

Usage

Helmsman can be used in three different settings:

Contributing

Pull requests, feedback/feature requests are welcome. Please check our contribution guide.

主要指標

概覽
名稱與所有者Praqma/helmsman
主編程語言Go
編程語言Go (語言數: 4)
平台
許可證MIT License
所有者活动
創建於2017-11-02 19:22:35
推送於2025-04-16 11:39:35
最后一次提交2025-04-16 12:39:34
發布數103
最新版本名稱v3.18.0 (發布於 2025-03-25 23:45:33)
第一版名稱0.1.0 (發布於 2017-11-04 18:26:52)
用户参与
星數1.5k
關注者數14
派生數176
提交數1.6k
已啟用問題?
問題數383
打開的問題數2
拉請求數538
打開的拉請求數0
關閉的拉請求數28
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?