Declaratively deploy your Kubernetes manifests, Kustomize configs, and Charts as Helm releases in one shot
Go to file
yxxhero 429e724104
Improve some multi-value flags to accept comma-separated values (#300)
fix cobra issue

Signed-off-by: yxxhero <aiopsclub@163.com>

Signed-off-by: yxxhero <aiopsclub@163.com>
2022-08-18 20:30:30 +09:00
.github fix tag miss in docker build 2022-08-16 09:11:22 +08:00
cmd Improve some multi-value flags to accept comma-separated values (#300) 2022-08-18 20:30:30 +09:00
docs Improve some multi-value flags to accept comma-separated values (#300) 2022-08-18 20:30:30 +09:00
embrawtest/myapp feat: Helmfile renders *.yaml.gotmpl in a K8s manifests/kustomization directory (#1745) 2021-04-06 14:22:34 +09:00
examples Rename module to github.com/helmfile/helmfile 2022-05-18 10:05:07 -04:00
hack release: fix hack/semtag when there are one or more git remotes before `origin` 2019-01-22 01:29:28 +09:00
hooks Feature/autobuild docker image for each release thru dockerhub auto builds (#886) 2020-02-03 08:45:51 +09:00
pkg Merge pull request #301 from mikelorant/fix/diff-context 2022-08-18 15:09:23 +08:00
test lint 2022-08-16 16:25:24 +02:00
.editorconfig Improve capitalization and formats of README.md. (#1545) 2020-10-19 08:47:19 +09:00
.gitignore reconstruct_main_function 2022-06-01 07:32:36 +08:00
.golangci.yaml update golang lint 2022-08-12 20:36:09 +08:00
.goreleaser.yml Release automation and release build testing 2022-06-10 02:15:40 +00:00
.readthedocs.yaml Documentation site based on mkdocs and Read the Docs 2022-04-03 05:04:54 +00:00
CODEOWNERS Add yxxhero as a maintainer (#132) 2022-06-05 16:04:36 +09:00
CONTRIBUTING.md Rename module to github.com/helmfile/helmfile 2022-05-18 10:05:07 -04:00
Dockerfile Update alpine base image to 3.16 2022-06-24 09:33:56 +02:00
Dockerfile.debian-stable-slim Refactor 'images' workflow, include Ubuntu image to push 2022-08-10 09:01:37 +02:00
Dockerfile.ubuntu fix: build of Dockerfile.ubuntu 2022-06-16 09:48:56 +02:00
LICENSE Create LICENSE 2017-11-10 16:07:38 -05:00
Makefile Rename module to github.com/helmfile/helmfile 2022-05-18 10:05:07 -04:00
README.md Update ArchLinux installation instructions 2022-08-14 01:46:55 +02:00
SECURITY.md Create SECURITY.md (#135) 2022-06-05 17:11:54 +09:00
USERS.md Update USERS.md (#2089) 2022-03-09 20:35:42 +09:00
Vagrantfile Enable `helmfile-diff` to pass the output format to helm-diff (#1784) 2021-04-24 08:07:24 +09:00
go.mod build(deps): bump github.com/mattn/go-isatty from 0.0.14 to 0.0.16 2022-08-15 15:36:03 +00:00
go.sum build(deps): bump github.com/mattn/go-isatty from 0.0.14 to 0.0.16 2022-08-15 15:36:03 +00:00
main.go fix lint error 2022-08-13 07:40:32 +08:00
mkdocs.yml fix docs site issue 2022-07-08 08:36:02 +08:00

README.md

Helmfile

Tests Container Image Repository on GHCR Slack Community #helmfile Documentation

Deploy Kubernetes Helm Charts

About

Helmfile is a declarative spec for deploying helm charts. It lets you...

  • Keep a directory of chart value files and maintain changes in version control.
  • Apply CI/CD to configuration changes.
  • Periodically sync to avoid skew in environments.

To avoid upgrades for each iteration of helm, the helmfile executable delega tes to helm - as a result, helm must be installed.

Highlights

Declarative: Write, version-control, apply the desired state file for visibility and reproducibility.

Modules: Modularize common patterns of your infrastructure, distribute it via Git, S3, etc. to be reused across the entire company (See #648)

Versatility: Manage your cluster consisting of charts, kustomizations, and directories of Kubernetes resources, turning everything to Helm releases (See #673)

Patch: JSON/Strategic-Merge Patch Kubernetes resources before helm-installing, without forking upstream charts (See #673)

Status

March 2022 Update - The helmfile project has been moved to helmfile/helmfile from the former home roboll/helmfile. Please see roboll/helmfile#1824 for more information.

Even though Helmfile is used in production environments across multiple organizations, it is still in its early stage of development, hence versioned 0.x.

Helmfile complies to Semantic Versioning 2.0.0 in which v0.x means that there could be backward-incompatible changes for every release.

Note that we will try our best to document any backward incompatibility. And in reality, helmfile had no breaking change for a year or so.

Installation

  • download one of releases
  • run as a container
  • Archlinux: install via pacman -S helmfile
  • openSUSE: install via zypper in helmfile assuming you are on Tumbleweed; if you are on Leap you must add the kubic repo for your distribution version once before that command, e.g. zypper ar https://download.opensuse.org/repositories/devel:/kubic/openSUSE_Leap_\$releasever kubic
  • Windows (using scoop): scoop install helmfile
  • macOS (using homebrew): brew install helmfile

Getting Started

Let's start with a simple helmfile and gradually improve it to fit your use-case!

Suppose the helmfile.yaml representing the desired state of your helm releases looks like:

repositories:
 - name: prometheus-community
   url: https://prometheus-community.github.io/helm-charts

releases:
- name: prom-norbac-ubuntu
  namespace: prometheus
  chart: prometheus-community/prometheus
  set:
  - name: rbac.create
    value: false

Sync your Kubernetes cluster state to the desired one by running:

helmfile apply

Congratulations! You now have your first Prometheus deployment running inside your cluster.

Iterate on the helmfile.yaml by referencing:

Docs

Please read complete documentation

Contributing

Welcome to contribute together to make helmfile better: contributing doc

Attribution

We use:

  • semtag for automated semver tagging. I greatly appreciate the author(pnikosis)'s effort on creating it and their kindness to share it!