The GitOps Toolkit Kustomize reconciler
Go to file
Stefan Prodan 60b8f86f49
Merge pull request #1491 from fluxcd/feat-dependon-cel
Extend the readiness evaluation of dependencies with CEL expressions
2025-07-29 08:28:26 +03:00
.github Update dependabot config 2025-05-28 16:35:40 +03:00
api api: Add the `readyExpr` field to `dependsOn` 2025-07-22 12:57:08 +03:00
config api: Add the `readyExpr` field to `dependsOn` 2025-07-22 12:57:08 +03:00
docs docs: Add dependency ready expression to API docs 2025-07-22 20:24:03 +03:00
hack Version API generated docs 2023-03-30 19:42:21 +05:30
internal controller: Move manager to a dedicated file 2025-07-22 20:43:14 +03:00
tests/fuzz Update to Kubernetes 1.33.0 and Go 1.24.0 2025-04-28 14:12:22 +03:00
.gitignore Move `controllers` to `internal/controllers` 2023-03-29 12:27:05 +03:00
.goreleaser.yaml Adapt config to GoRelease v2 2024-06-11 09:38:35 +03:00
CHANGELOG.md Add changelog entry for v1.6.1 2025-07-08 10:02:19 +01:00
CODE_OF_CONDUCT.md Release v0.0.1-alpha.1 2020-04-20 15:11:11 +03:00
DCO Release v0.0.1-alpha.1 2020-04-20 15:11:11 +03:00
DEVELOPMENT.md Update to Kubernetes 1.33.0 and Go 1.24.0 2025-04-28 14:12:22 +03:00
Dockerfile Update to Kubernetes 1.33.0 and Go 1.24.0 2025-04-28 14:12:22 +03:00
LICENSE Initial commit 2020-04-15 08:57:39 +03:00
MAINTAINERS Share fluxcd/flux2 maintainer 2020-11-30 13:31:53 +00:00
Makefile Update to Kubernetes 1.33.0 and Go 1.24.0 2025-04-28 14:12:22 +03:00
PROJECT Promote Kustomization API to v1 2023-03-29 16:29:05 +03:00
README.md Update controller to OCIRepository v1 (GA) 2025-05-28 13:24:44 +03:00
go.mod controller: Implement CEL evaluation for dependency checks 2025-07-22 20:23:58 +03:00
go.sum controller: Implement CEL evaluation for dependency checks 2025-07-22 20:23:58 +03:00
main.go controller: Add `AdditiveCELDependencyCheck` feature gate 2025-07-22 12:57:52 +03:00

README.md

kustomize-controller

CII Best Practices e2e report license release

The kustomize-controller is a Flux component, specialized in running continuous delivery pipelines for infrastructure and workloads defined with Kubernetes manifests and assembled with Kustomize.

The cluster desired state is described through a Kubernetes Custom Resource named Kustomization. Based on the creation, mutation or removal of a Kustomization resource in the cluster, the controller performs actions to reconcile the cluster current state with the desired state.

overview

Features

  • watches for Kustomization objects
  • fetches artifacts produced by source-controller from Source objects
  • watches Source objects for revision changes
  • generates the kustomization.yaml file if needed
  • generates Kubernetes manifests with Kustomize SDK
  • decrypts Kubernetes secrets with Mozilla SOPS and KMS
  • validates the generated manifests with Kubernetes server-side apply dry-run
  • detects drift between the desired and state and cluster state
  • corrects drift by patching objects with Kubernetes server-side apply
  • prunes the Kubernetes objects removed from source
  • checks the health of the deployed workloads
  • runs Kustomizations in a specific order, taking into account the depends-on relationship
  • notifies whenever a Kustomization status changes

Specifications

Guides

Roadmap

The roadmap for the Flux family of projects can be found at https://fluxcd.io/roadmap/.

Contributing

This project is Apache 2.0 licensed and accepts contributions via GitHub pull requests. To start contributing please see the development guide.