The GitOps Toolkit Kustomize reconciler
Go to file
Stefan Prodan 440b9da8d8
Merge pull request #1134 from fluxcd/kustomize-name-prefix-suffix
Implement name prefix/suffix transformers
2024-04-09 16:28:23 +03:00
.github build(deps): bump the ci group with 12 updates 2024-04-03 02:38:57 +00:00
api Add `.spec.namePrefix` and `.spec.nameSuffix` to API 2024-04-09 14:48:36 +03:00
config Add `.spec.namePrefix` and `.spec.nameSuffix` to API 2024-04-09 14:48:36 +03:00
docs Add name prefix/suffix fields to API docs 2024-04-09 15:15:16 +03:00
hack Version API generated docs 2023-03-30 19:42:21 +05:30
internal Implement name prefix/suffix transformers 2024-04-09 15:01:35 +03:00
tests/fuzz Update dependencies to Go 1.22 and Kubernetes 1.29.3 2024-04-02 17:18:07 +03:00
.gitignore Move `controllers` to `internal/controllers` 2023-03-29 12:27:05 +03:00
.goreleaser.yaml Add SLSA3 generators to release workflow 2023-06-22 15:16:34 +03:00
CHANGELOG.md Add changelog entry for v1.2.2 2024-02-02 17:29:20 +05:30
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 new doc links structure 2022-08-30 15:26:51 +02:00
Dockerfile Update dependencies to Go 1.22 and Kubernetes 1.29.3 2024-04-02 17:18:07 +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 dependencies to Go 1.22 and Kubernetes 1.29.3 2024-04-02 17:18:07 +03:00
PROJECT Promote Kustomization API to v1 2023-03-29 16:29:05 +03:00
README.md api/docs: various nits and typos 2023-03-31 17:23:46 +02:00
go.mod Implement name prefix/suffix transformers 2024-04-09 15:01:35 +03:00
go.sum Implement name prefix/suffix transformers 2024-04-09 15:01:35 +03:00
main.go Add `StrictPostBuildSubstitutions` feature flag 2024-04-08 19:08:33 +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.