flux

by QuenchWorks

Helm chartv0.0.15App 2.9.5Apache-2.0Verified publisher

Flux, the CNCF GitOps toolkit: source, kustomize, helm and notification controllers with their CRDs, reconciling a cluster from Git, OCI and Helm repositories. Hardened by QuenchWorks, nonroot, CVE-gated, cosign-signed and pinned by digest.

About this chart

Flux

Flux keeps a cluster in step with Git, OCI and Helm repositories. This chart installs its four core controllers, and three optional ones, with their CRDs on QuenchWorks images, each built from source: nonroot, read-only root filesystem, 0 fixable CVEs, cosign-signed and pinned by digest.

ControllerVersionReconciles
source-controller1.9.5GitRepository, OCIRepository, HelmRepository, HelmChart, Bucket
kustomize-controller1.9.5Kustomization (with SOPS decryption)
helm-controller1.6.4HelmRelease
notification-controller1.9.4Provider, Alert, Receiver
image-reflector-controller (optional)1.2.5ImageRepository, ImagePolicy
image-automation-controller (optional)1.2.5ImageUpdateAutomation
source-watcher (optional)2.2.4ArtifactGenerator

These are the versions Flux 2.9.5 ships. The three optional controllers are off by default; turn one on with --set controllers.image-reflector.enabled=true (likewise image-automation and source-watcher). Their CRDs are always installed. The image-reflector keeps its tag database, and source-watcher its generated artifacts, in an emptyDir, so both rebuild from their sources after a restart.

Install

helm install flux oci://ghcr.io/quenchworks/charts/flux -n flux-system --create-namespace

Then add a GitRepository and a Kustomization (NOTES.txt prints an example). The flux CLI works against this install with --namespace flux-system.

Values

KeyDefaultMeaning
controllers.<name>.enabledtrueturn a controller off
controllers.<name>.extraArgs[]extra controller flags
watchAllNamespacestruereconcile Flux objects in every namespace
clusterReconciler.enabledtruebind kustomize- and helm-controller to cluster-admin, as upstream does
webhookReceiver.service.typeClusterIPthe Service for Receiver webhooks
logLevelinfodebug, info or error

clusterReconciler.enabled: true gives the two appliers cluster-admin: they apply whatever your repositories hold. To restrict them, set it to false and give each Kustomization and HelmRelease a serviceAccountName with the roles it needs.

The CRDs ship in crds/, so Helm installs them once and does not upgrade or delete them; apply a newer chart's crds/ by hand when upgrading across Flux minors.

The release gate installs the chart on kind and runs three real reconciliations: a GitRepository plus Kustomization that deploys podinfo, a HelmRelease that installs the QuenchWorks opa chart from its OCI registry, and a notification Provider and Alert, each of which must go Ready.

The chart depends on the quench-common chart from oci://ghcr.io/quenchworks/charts.

Deploy flux with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has flux on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartflux is pinned at v0.0.15 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply