Skip to main content
In this guide, you’ll upgrade an existing Flux CD installation to include both the Image Reflector Controller and the Image Automation Controller. By the end, you’ll verify new deployments, CRDs, and see the updated Git manifests.

1. Verify Existing Flux Controllers

Ensure you’re working in the flux-system namespace and list deployed controllers:
Expected output:
No image controllers appear yet. You’ll add them in Step 3.

2. List All Flux Sources

Check which source types are defined in your cluster:
Sample output:
This confirms you have all standard source types: Git, Helm, OCI, and Bucket.

3. Upgrade Flux to Include Image Controllers

Re-run the Flux bootstrap command with the --components-extra flag:
When prompted, paste your GitHub Personal Access Token.
Never share your token publicly or commit it to Git.
Flux will detect existing components and automatically upgrade to add the image controllers.

4. Confirm New Deployments and CRDs

4.1 Check Pods & Deployments

Expected snippet:

4.2 List Image CRDs


5. Review the Updated Flux Component Manifest

Open the generated manifest at flux-clusters/dev-cluster/flux-components.yaml and confirm the new controllers are included:

6. Sync & Review Git Changes

Pull the latest commits to see the diff:
Sample output:
Great work! You’ve successfully upgraded Flux with the Image Reflector and Image Automation Controllers.

Watch Video