Declaratively deploy your Kubernetes manifests, Kustomize configs, and Charts as Helm releases in one shot
Go to file
Stoned Elipot 22f0d7b8a0 typo
Signed-off-by: Stoned Elipot <stoned.elipot@gmail.com>
2022-09-30 11:02:19 +02:00
.github feat: show live output from the Helm binary (#286) 2022-09-18 14:24:35 +09:00
cmd fix enable-live-output style 2022-09-18 20:21:10 +08:00
docs typo 2022-09-30 11:02:19 +02: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 fixup! Fix not to ignore diff selector when it matched nothing 2022-09-19 04:46:52 +00:00
test chore: add e2e test case for helm template with oci based helm chart 2022-09-18 19:11:26 +09: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 docs: fix best pratices guide link 2022-09-29 13:58:38 +02: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.1 to 0.25.2 2022-09-23 21:57:02 +00:00
go.sum build(deps): bump k8s.io/apimachinery from 0.25.1 to 0.25.2 2022-09-23 21:57:02 +00:00
main.go fix incorrent exit code 2022-09-13 08:23:55 +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 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