Skip to content

Kubernetes CRD: fluxcd.io#

"Flux is a tool for keeping Kubernetes clusters in sync with sources of configuration (like Git repositories), and automating updates to configuration when there is new code to deploy." (fluxcd.io)

Flux's "GitOps" philosophy is an extremely powerful concept, but embracing it demands a high degree of confidence in the configurations that you ask it to apply automatically. Use this module to validate that manifests sent to a Kubernetes cluster's fluxcd.io controller are structurally sound before deploying them.

This module contains multiple packages, each dedicated to different kinds of components that Flux handles. To use them, add import statements for the appropriate components to your CUE:

import (
    source "cue.dev/x/crd/fluxcd.io/source/v1"
    helm "cue.dev/x/crd/fluxcd.io/helm/v2"
)

The Central Registry's documentation lists the full set of packages and CRD kinds that can be validated.

Learn more with: