flux2

by Flux community

Helm chartv2.20.0App 2.10.0

A Helm chart for flux2

About this chart

flux2

A Helm chart for flux2

This helm chart is maintained and released by the fluxcd-community on a best effort basis.

Source Code

Values

KeyTypeDefaultDescription
cli.affinityobject{}
cli.annotationsobject{}
cli.imagestring"ghcr.io/fluxcd/flux-cli"
cli.nodeSelectorobject{}
cli.serviceAccount.automountbooltrue
cli.tagstring"v2.10.0"
cli.tolerationslist[]
clusterDomainstring"cluster.local"
crds.annotationsobject{}Add annotations to all CRD resources, e.g. "helm.sh/resource-policy": keep
crds.migrationobject{"affinity":{},"annotations":{},"enabled":false,"nodeSelector":{},"resources":{"limits":{},"requests":{"cpu":"100m","memory":"64Mi"}},"timeout":"5m","tolerations":[]}Enable Flux CRs migration using helm pre upgrade hook job
distro.openshiftboolfalse
extraObjectslist[]Array of extra K8s manifests to deploy
helmController.affinityobject{}
helmController.annotations."prometheus.io/port"string"8080"
helmController.annotations."prometheus.io/scrape"string"true"
helmController.container.additionalArgslist[]
helmController.createbooltrue
helmController.extraEnvlist[]
helmController.imagestring"ghcr.io/fluxcd/helm-controller"
helmController.imagePullPolicystring""
helmController.labelsobject{}
helmController.nodeSelectorobject{}
helmController.priorityClassNamestring""
helmController.resources.limitsobject{}
helmController.resources.requests.cpustring"100m"
helmController.resources.requests.memorystring"64Mi"
helmController.serviceAccount.annotationsobject{}
helmController.serviceAccount.automountbooltrue
helmController.serviceAccount.createbooltrue
helmController.tagstring"v1.7.1"
helmController.tolerationslist[]
imageAutomationController.affinityobject{}
imageAutomationController.annotations."prometheus.io/port"string"8080"
imageAutomationController.annotations."prometheus.io/scrape"string"true"
imageAutomationController.container.additionalArgslist[]
imageAutomationController.createbooltrue
imageAutomationController.extraEnvlist[]
imageAutomationController.imagestring"ghcr.io/fluxcd/image-automation-controller"
imageAutomationController.imagePullPolicystring""
imageAutomationController.labelsobject{}
imageAutomationController.nodeSelectorobject{}
imageAutomationController.priorityClassNamestring""
imageAutomationController.resources.limitsobject{}
imageAutomationController.resources.requests.cpustring"100m"
imageAutomationController.resources.requests.memorystring"64Mi"
imageAutomationController.serviceAccount.annotationsobject{}
imageAutomationController.serviceAccount.automountbooltrue
imageAutomationController.serviceAccount.createbooltrue
imageAutomationController.tagstring"v1.3.0"
imageAutomationController.tolerationslist[]
imagePullSecretslist[]contents of pod imagePullSecret in form 'name=[secretName]'; applied to all controllers
imageReflectionController.affinityobject{}
imageReflectionController.annotations."prometheus.io/port"string"8080"
imageReflectionController.annotations."prometheus.io/scrape"string"true"
imageReflectionController.container.additionalArgslist[]
imageReflectionController.createbooltrue
imageReflectionController.extraEnvlist[]
imageReflectionController.imagestring"ghcr.io/fluxcd/image-reflector-controller"
imageReflectionController.imagePullPolicystring""
imageReflectionController.labelsobject{}
imageReflectionController.nodeSelectorobject{}
imageReflectionController.priorityClassNamestring""
imageReflectionController.resources.limitsobject{}
imageReflectionController.resources.requests.cpustring"100m"
imageReflectionController.resources.requests.memorystring"64Mi"
imageReflectionController.serviceAccount.annotationsobject{}
imageReflectionController.serviceAccount.automountbooltrue
imageReflectionController.serviceAccount.createbooltrue
imageReflectionController.tagstring"v1.3.0"
imageReflectionController.tolerationslist[]
installCRDsbooltrue
kustomizeController.affinityobject{}
kustomizeController.annotations."prometheus.io/port"string"8080"
kustomizeController.annotations."prometheus.io/scrape"string"true"
kustomizeController.container.additionalArgslist[]
kustomizeController.createbooltrue
kustomizeController.envFromobject{"map":{"name":""},"secret":{"name":""}}Defines envFrom using a configmap and/or secret.
kustomizeController.extraEnvlist[]
kustomizeController.extraSecretMountslist[]Defines additional mounts with secrets. Secrets must be manually created in the namespace or with kustomizeController.secret
kustomizeController.imagestring"ghcr.io/fluxcd/kustomize-controller"
kustomizeController.imagePullPolicystring""
kustomizeController.labelsobject{}
kustomizeController.nodeSelectorobject{}
kustomizeController.priorityClassNamestring""
kustomizeController.resources.limitsobject{}
kustomizeController.resources.requests.cpustring"100m"
kustomizeController.resources.requests.memorystring"64Mi"
kustomizeController.secret.createboolfalseCreate a secret to use it with extraSecretMounts. Defaults to false.
kustomizeController.secret.dataobject{}
kustomizeController.secret.namestring""
kustomizeController.serviceAccount.annotationsobject{}
kustomizeController.serviceAccount.automountbooltrue
kustomizeController.serviceAccount.createbooltrue
kustomizeController.tagstring"v1.10.1"
kustomizeController.tolerationslist[]
logLevelstring"info"
multitenancy.defaultServiceAccountstring"default"All Kustomizations and HelmReleases which don’t have spec.serviceAccountName specified, will use the default account from the tenant’s namespace. Tenants have to specify a service account in their Flux resources to be able to deploy workloads in their namespaces as the default account has no permissions.
multitenancy.enabledboolfalseImplement the patches for Multi-tenancy lockdown. See https://fluxcd.io/docs/installation/#multi-tenancy-lockdown
multitenancy.privilegedbooltrueBoth kustomize-controller and helm-controller service accounts run privileged with cluster-admin ClusterRoleBinding. Disable if you want to run them with a minimum set of permissions.
notificationController.affinityobject{}
notificationController.annotations."prometheus.io/port"string"8080"
notificationController.annotations."prometheus.io/scrape"string"true"
notificationController.container.additionalArgslist[]
notificationController.createbooltrue
notificationController.extraEnvlist[]
notificationController.imagestring"ghcr.io/fluxcd/notification-controller"
notificationController.imagePullPolicystring""
notificationController.labelsobject{}
notificationController.nodeSelectorobject{}
notificationController.priorityClassNamestring""
notificationController.resources.limitsobject{}
notificationController.resources.requests.cpustring"100m"
notificationController.resources.requests.memorystring"64Mi"
notificationController.service.annotationsobject{}
notificationController.service.labelsobject{}
notificationController.serviceAccount.annotationsobject{}
notificationController.serviceAccount.automountbooltrue
notificationController.serviceAccount.createbooltrue
notificationController.tagstring"v1.10.0"
notificationController.tolerationslist[]
notificationController.webhookReceiver.ingress.annotationsobject{}
notificationController.webhookReceiver.ingress.createboolfalse
notificationController.webhookReceiver.ingress.hosts[0].hoststring"flux-webhook.example.com"
notificationController.webhookReceiver.ingress.hosts[0].paths[0].pathstring"/"
notificationController.webhookReceiver.ingress.hosts[0].paths[0].pathTypestring"ImplementationSpecific"
notificationController.webhookReceiver.ingress.labelsobject{}
notificationController.webhookReceiver.ingress.tlslist[]
notificationController.webhookReceiver.service.annotationsobject{}
notificationController.webhookReceiver.service.labelsobject{}
policies.createbooltrue
prometheus.podMonitor.createboolfalseEnables podMonitor endpoint
prometheus.podMonitor.podMetricsEndpoints[0].portstring"http-prom"
prometheus.podMonitor.podMetricsEndpoints[0].relabelings[0].actionstring"keep"
prometheus.podMonitor.podMetricsEndpoints[0].relabelings[0].regexstring"Running"
prometheus.podMonitor.podMetricsEndpoints[0].relabelings[0].sourceLabels[0]string"__meta_kubernetes_pod_phase"
rbac.annotationsobject{}Add annotations to all RBAC resources, e.g. "helm.sh/resource-policy": keep
rbac.createbooltrue
rbac.createAggregationbooltrueGrant the Kubernetes view, edit and admin roles access to Flux custom resources
rbac.roleRef.namestring"cluster-admin"
sourceController.affinityobject{}
sourceController.annotations."prometheus.io/port"string"8080"
sourceController.annotations."prometheus.io/scrape"string"true"
sourceController.container.additionalArgslist[]
sourceController.createbooltrue
sourceController.extraEnvlist[]
sourceController.imagestring"ghcr.io/fluxcd/source-controller"
sourceController.imagePullPolicystring""
sourceController.labelsobject{}
sourceController.nodeSelectorobject{}
sourceController.priorityClassNamestring""
sourceController.resources.limitsobject{}
sourceController.resources.requests.cpustring"100m"
sourceController.resources.requests.memorystring"64Mi"
sourceController.service.annotationsobject{}
sourceController.service.labelsobject{}
sourceController.serviceAccount.annotationsobject{}
sourceController.serviceAccount.automountbooltrue
sourceController.serviceAccount.createbooltrue
sourceController.tagstring"v1.10.1"
sourceController.tolerationslist[]
sourceWatcher.affinityobject{}
sourceWatcher.annotations."prometheus.io/port"string"8080"
sourceWatcher.annotations."prometheus.io/scrape"string"true"
sourceWatcher.container.additionalArgslist[]
sourceWatcher.createboolfalse
sourceWatcher.extraEnvlist[]
sourceWatcher.imagestring"ghcr.io/fluxcd/source-watcher"
sourceWatcher.imagePullPolicystring""
sourceWatcher.labelsobject{}
sourceWatcher.nodeSelectorobject{}
sourceWatcher.priorityClassNamestring""
sourceWatcher.resources.limitsobject{}
sourceWatcher.resources.requests.cpustring"50m"
sourceWatcher.resources.requests.memorystring"64Mi"
sourceWatcher.service.annotationsobject{}
sourceWatcher.service.labelsobject{}
sourceWatcher.serviceAccount.annotationsobject{}
sourceWatcher.serviceAccount.automountbooltrue
sourceWatcher.serviceAccount.createbooltrue
sourceWatcher.tagstring"v2.3.1"
sourceWatcher.tolerationslist[]
watchAllNamespacesbooltrue

Deploy flux2 with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has flux2 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 chartflux2 is pinned at v2.20.0 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