Declaratively deploy your Kubernetes manifests, Kustomize configs, and Charts as Helm releases in one shot
Go to file
yxxhero ed228c9c7e move HELMFILE_UPGRADE_NOTICE_DISABLED into envvar file
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-10-15 14:22:51 +08:00
.github feat: add helm-diff and kustomize in ci matrix (#434) 2022-10-13 08:08:58 +08:00
cmd move HELMFILE_UPGRADE_NOTICE_DISABLED into envvar file 2022-10-15 14:22:51 +08:00
docs feat: optimize version output (#412) 2022-10-08 14:26:15 +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
logo Add logo as .png and .ai (Adobe Illustrator) files (#263) 2022-08-24 07:37:52 +09:00
pkg move HELMFILE_UPGRADE_NOTICE_DISABLED into envvar file 2022-10-15 14:22:51 +08:00
test feat: add helm-diff and kustomize in ci matrix (#434) 2022-10-13 08:08:58 +08: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 feat: optimize version output (#412) 2022-10-08 14:26:15 +09: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 deps: update dockerfile dependencies (#421) 2022-10-12 20:41:26 +08:00
Dockerfile.debian-stable-slim deps: update dockerfile dependencies (#421) 2022-10-12 20:41:26 +08:00
Dockerfile.ubuntu deps: update dockerfile dependencies (#421) 2022-10-12 20:41:26 +08:00
LICENSE Create LICENSE 2017-11-10 16:07:38 -05:00
Makefile fix helmfile version issue in docker image (#427) 2022-10-10 20:30:38 +09:00
README.md fix README.md users.md to USERS.md (#410) 2022-10-08 14:25:01 +09:00
SECURITY.md Create SECURITY.md (#135) 2022-06-05 17:11:54 +09:00
USERS.md add NDR to USERS.md 2022-08-30 11:20:08 +02: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 k8s.io/apimachinery from 0.25.2 to 0.25.3 (#439) 2022-10-15 07:52:23 +08:00
go.sum build(deps): bump k8s.io/apimachinery from 0.25.2 to 0.25.3 (#439) 2022-10-15 07:52:23 +08:00
main.go fix: child process not exit when recive term signal (#418) 2022-10-09 17:51:52 +09: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 delegates 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!

Users

Helmfile has been used by many users in production:

For more users, please see: Users