Futureporn monorepo https://futureporn.net/
Go to file
Chris Grimmett 6ea65301c4
ci / build (push) Failing after 6m34s Details
k8s progress
2024-04-18 20:51:09 +00:00
.dokku switch back to dokku 2024-02-26 14:00:23 -08:00
.gitea/workflows use correct dockerfile 2024-03-29 02:30:04 -08:00
.vscode add vscode dir 2024-03-20 21:35:34 -08:00
charts k8s progress 2024-04-18 20:51:09 +00:00
packages strapi 4.23.0 2024-04-12 13:20:48 -08:00
.dockerignore add gitea ci 2024-03-28 23:28:02 -08:00
.gitignore remove .envrc from source control 2024-03-15 19:49:41 -08:00
.npmrc try gitea actions 2024-03-20 21:29:45 -08:00
.nvmrc make next.dockerfile more lightweight 2024-03-29 19:27:03 -08:00
ARCHITECHTURE.md k8s progress 2024-04-18 20:51:09 +00:00
LICENSE k8s progress 2024-04-18 20:51:09 +00:00
Makefile k8s progress 2024-04-18 20:51:09 +00:00
README.md k8s progress 2024-04-18 20:51:09 +00:00
Tiltfile k8s progress 2024-04-18 20:51:09 +00:00
compose.yml potential fix 2024-03-28 23:45:51 -08:00
helmfile.yaml progress 2024-04-11 00:17:51 -08:00
helmsman.yaml k8s progress 2024-04-18 20:51:09 +00:00
link2cid.dockerfile use dockerfile 2024-03-29 02:14:18 -08:00
next.dockerfile online install 2024-03-29 21:27:56 -08:00
package.json k8s progress 2024-04-18 20:51:09 +00:00
pnpm-lock.yaml add gitea ci 2024-03-28 23:28:02 -08:00
pnpm-workspace.yaml convert strapi to use pnpm 2024-04-02 06:49:33 -08:00
strapi.dockerfile successful docker build of strapi 2024-04-12 11:25:44 -08:00

README.md

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).
  • Parallelise: Releases with the same priority can be executed in parallel.
  • 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.11.0/helmsman_3.11.0_linux_amd64.tar.gz | tar zx
# on MacOS
curl -L https://github.com/Praqma/helmsman/releases/download/v3.11.0/helmsman_3.11.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.

You can also install Helmsman using Homebrew

brew install helmsman

As an asdf-vm plugin

asdf plugin-add helmsman
asdf install helmsman latest

Documentation

Documentation for Helmsman v1.x can be found at: docs v1.x

Usage

Helmsman can be used in three different settings:

Contributing

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