falco-operator

by Helm

Helm chartv0.4.0App 0.5.0

A Helm chart for deploying the Falco Operator

About this chart

falco-operator

Falco Operator manages Falco deployments and Falco artifacts on Kubernetes.

Introduction

This chart installs the Falco Operator controllers and their CRDs. The chart deploys the instance operator and configures the RBAC needed to manage Falco, Component, Rulesfile, Plugin, and Config custom resources.

Adding falcosecurity repository

Before installing the published chart, add the falcosecurity charts repository:

helm repo add falcosecurity https://falcosecurity.github.io/charts
helm repo update

Installing the Chart

To install the chart with default values and release name falco-operator run:

helm install falco-operator falcosecurity/falco-operator --namespace falco-operator --create-namespace

After a few seconds, the Falco Operator should be running in the falco-operator namespace.

To install from a local checkout of the Falco Operator source repository before the chart is published:

helm install falco-operator ./chart/falco-operator --namespace falco-operator --create-namespace

Uninstalling the Chart

To uninstall the falco-operator release:

helm uninstall falco-operator --namespace falco-operator

Configuration

The following table lists the configurable parameters of the falco-operator chart v0.4.0 and their default values. See values.yaml for the full list.

Values

KeyTypeDefaultDescription
affinityobject{}Affinity rules
apiPriorityAndFairness.artifactOperators.handSizeint6Queues each Falco instance's requests are spread over (shuffle sharding).
apiPriorityAndFairness.artifactOperators.lendablePercentint50Part of that share other levels may borrow while the sidecars do not use it.
apiPriorityAndFairness.artifactOperators.matchingPrecedenceint1000FlowSchema precedence: lower matches first. Above the cluster's catch-all, below system schemas.
apiPriorityAndFairness.artifactOperators.namespaceslist[]Namespaces of the Falco instances, whose ServiceAccounts are the sidecars'. Empty matches the ServiceAccounts of every namespace, so any other workload using the artifact API shares the sidecars' level.
apiPriorityAndFairness.artifactOperators.nominalConcurrencySharesint20Share of the API server's concurrency the sidecars are entitled to.
apiPriorityAndFairness.artifactOperators.queueLengthLimitint50Requests a queue holds before further ones are rejected with 429.
apiPriorityAndFairness.artifactOperators.queuesint64Queues requests wait in once the level is busy; more queues isolate Falco instances better.
apiPriorityAndFairness.enabledboolfalseCreate the PriorityLevelConfiguration and FlowSchemas.
apiPriorityAndFairness.operator.matchingPrecedenceint900Precedence of the operator's own schema; it must match before the sidecars' one.
apiPriorityAndFairness.operator.priorityLevelstring"workload-high"Priority level for the operator's own artifact API requests.
artifactNodeAdmissionPolicy.enabledboolfalseCreate the ValidatingAdmissionPolicy and its binding.
artifactOperatorAppArmorUnconfinedboolfalseWhen true, the artifact-operator sidecar runs with the Unconfined AppArmor profile. Enable on nodes where the container runtime's default AppArmor profile blocks SIGHUP to Falco with permission denied. Requires Kubernetes 1.30 or later. Enabling it rolls the Falco pods.
clusterDomainstring"cluster.local"Cluster DNS domain, used for the artifact server URL and its TLS certificate.
dnsConfigobject{}Pod DNS config. Requires dnsPolicy to be set to None to take full effect.
dnsPolicystring""Pod DNS policy. One of ClusterFirst, ClusterFirstWithHostNet, Default or None.
enforceRequirementsbooltrueWhen false, the artifact-operator sidecar installs artifacts regardless of Falco version or plugin dependency constraints. Useful when compatibility metadata is unavailable or incorrect.
excludedLabelslist[]Label keys that must NOT be propagated onto operator-generated resources. Supports the '*' wildcard (e.g. kustomize.toolkit.fluxcd.io/*).
extraArgslist[]Additional CLI arguments passed to the operator binary. mTLS's own flags are added natively when mtls.enabled is true; no need to list them here.
extraEnvlist[]Extra environment variables
extraObjectslist[]Array of extra Kubernetes manifests to deploy alongside the operator. Each entry is rendered with tpl, so Helm templating (e.g. {{ .Release.Name }}) is supported within values. mTLS's own cert-manager/trust-manager resources are templated natively (see mtls.* above and templates/mtls.yaml); this is for anything else.
fullnameOverridestring""Full name override for the chart
image.digeststring""Optional image digest (e.g. sha256:abc...). When set, takes precedence over tag and renders repository@digest.
image.pullPolicystring"IfNotPresent"Image pull policy
image.repositorystring"falcosecurity/falco-operator"Repository for the Falco Operator image
image.tagstring""Overrides the image tag whose default is the chart appVersion
imagePullSecretslist[]Image pull secrets
imageRegistrystring""Registry host[:port][/path] for the default Docker Hub images of the operator and generated workloads. Preserves tags/digests; custom repositories and explicit images take precedence.
livenessProbeobject{"httpGet":{"path":"/healthz","port":"health"},"initialDelaySeconds":15,"periodSeconds":20}Liveness probe configuration
mtlsobject{"caBundleConfigMapName":"","caCertDuration":"8760h","client":{"certDuration":"720h","certRenewBefore":"168h"},"createIssuer":true,"enabled":false,"issuerName":"","server":{"certDuration":"720h","certRenewBefore":"168h"},"trustLabel":"artifact.falcosecurity.dev/trust"}mTLS for the central artifact server and per-Falco-instance client certificates. Requires cert-manager installed in the cluster (and trust-manager too, if mtls.createIssuer is true). See internal/pkg/artifactserver and controllers/instance/falco for the Go side.
mtls.caBundleConfigMapNamestring""Name of the ConfigMap (synced by trust-manager into every trust-labeled namespace) that both the operator's Deployment and every Falco instance's sidecar read to verify their peer's certificate through a CA rotation. Deliberately not each side's own per-instance Secret, since a Secret's bundled ca.crt only ever reflects one CA at a time, but this ConfigMap can hold two at once during a coordinated rotation. Defaults to "-artifact-ca-bundle", the Bundle this chart creates when createIssuer is true. Set this explicitly when createIssuer is false, to reference your own trust-distribution mechanism's ConfigMap.
mtls.caCertDurationstring"8760h"Duration for the bootstrap CA certificate (only used when createIssuer is true). cert-manager renews it automatically, reusing its private key (rotationPolicy: Never) so existing leaf certificates remain trusted. CA key rotation requires coordinated trust-bundle and leaf-certificate updates, which this chart does not automate.
mtls.client.certDurationstring"720h"Duration/renewBefore for each Falco instance's per-instance client certificate.
mtls.createIssuerbooltrueIf true, this chart bootstraps its own private CA (a self-signed Issuer, a CA Certificate, and a ClusterIssuer) and a trust-manager Bundle that distributes that CA to any namespace labeled trustLabel below. The CA Secret lives in the release namespace, which must match cert-manager's --cluster-resource-namespace and trust-manager's app.trust.namespace. These are shared controller settings: do not change them blindly on an existing PKI. If false, set issuerName to an existing ClusterIssuer you manage yourself, and distribute trust to BOTH the operator and Falco namespaces (this chart creates no Bundle in that mode). See docs/installation.md for onboarding and issuance-policy requirements.
mtls.enabledboolfalseEnable mTLS. When true: cert-manager issues this Deployment's own server certificate, the Falco controller creates a unique per-instance client certificate (with a SPIFFE URI SAN identifying the instance) for every Falco instance's artifact-operator sidecar, and the operator's ClusterRole gains permission to create cert-manager Certificate objects. When false (the default), the artifact server runs over plain HTTP without application-level authentication or namespace authorization, and has no cert-manager dependency. Mesh mTLS alone does not enable these checks; restrict access with network/mesh authorization policies.
mtls.issuerNamestring""Name of the ClusterIssuer used to sign the server and per-instance client certificates. Defaults to "-artifact-ca-issuer", the one this chart creates when createIssuer is true. Set this explicitly when createIssuer is false, to reference your own ClusterIssuer.
mtls.server.certDurationstring"720h"Duration/renewBefore for the artifact server's own leaf certificate.
mtls.trustLabelstring"artifact.falcosecurity.dev/trust"Label applied to namespaces that should receive the CA trust bundle via trust-manager (only relevant when createIssuer is true). A cluster admin must label BOTH the operator's namespace and every Falco namespace with this key=true before mTLS setup; this chart never labels namespaces on its own (a deliberate, explicit, admin-approves-trust step). Without it, the operator or a Falco sidecar has no CA bundle ConfigMap to mount and its pod will sit stuck in ContainerCreating.
nameOverridestring""Name override for the chart
nodeSelectorobject{}Node selector
podAnnotationsobject{}Pod annotations
podLabelsobject{}Pod labels
podSecurityContextobject{"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}Pod security context
priorityClassNamestring""Priority class name
rbacobject{"create":true}RBAC configuration
rbac.createbooltrueSpecifies whether RBAC resources should be created
readinessProbeobject{"httpGet":{"path":"/readyz","port":"health"},"initialDelaySeconds":5,"periodSeconds":10}Readiness probe configuration
replicaCountint1Number of replicas for the operator. Leader election is OFF by default; to run more than 1 replica, also set extraArgs: ["--leader-elect=true"].
resizePolicylist[]In-place pod resize policy for the manager container
resourcesobject{"limits":{"cpu":"500m","memory":"512Mi"},"requests":{"cpu":"10m","memory":"128Mi"}}Resource limits and requests
revisionHistoryLimitint10The number of old ReplicaSets to retain to allow rollback
securityContextobject{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]}}Container security context
serviceAccountobject{"annotations":{},"automountServiceAccountToken":true,"create":true,"imagePullSecrets":[],"name":""}Service account configuration
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.automountServiceAccountTokenbooltrueAutomatically mount the ServiceAccount API token into pods using this ServiceAccount
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.imagePullSecretslist[]Image pull secrets attached to the service account
serviceAccount.namestring""The name of the service account to use
tolerationslist[]Tolerations
topologySpreadConstraintslist[]Topology spread constraints
volumeMountslist[]Additional volume mounts. See the volumes note above.
volumeslist[]Additional volumes. mTLS's own volumes (server cert Secret + CA trust bundle ConfigMap) are added natively when mtls.enabled is true; no need to list them here.

Deploy falco-operator with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has falco-operator 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 chartfalco-operator is pinned at v0.4.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