> ## Documentation Index
> Fetch the complete documentation index at: https://docs.changeguard.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Flux CD Integration

> Deep integration with Flux CD for GitOps visibility

ChangeGuard watches Flux CD custom resources directly via the Kubernetes API inside the cluster — no Flux API tokens required, and it works even on clusters the ChangeGuard control plane can't reach.

## Tracked Resources

| CRD             | Data                                           |
| --------------- | ---------------------------------------------- |
| `Kustomization` | Status, last applied revision, ready condition |
| `HelmRelease`   | Chart, version, status, values drift           |
| `GitRepository` | URL, branch, last fetched revision             |
| `OCIRepository` | URL, tag, last fetched digest                  |
| `Bucket`        | Endpoint, bucket name, status                  |

## Configuration

Enable Flux discovery on the `ChangeGuardAgent` resource:

```yaml theme={null}
spec:
  gitops:
    flux:
      enabled: true
```

Or set `gitops.flux.enabled=true` via [Helm](/operator/helm-chart). When enabled, the collector reads Kustomizations, HelmReleases, and Sources directly and posts a GitOps snapshot that persists across backend restarts and replicas.
