r/devops • u/DeLoMioFoodie • Jul 10 '26
Discussion Bootstrapping Flux
there's several methods on setting it up on a cluster (terraform with helm, terraform with flux provider, and using the flux boostrap command). Is there any reason for using Terraform instead of flux cli on my runner? Ultimately i dont want terraform managing it.
8
Upvotes
View all comments
Show parent comment
2
u/Anonimooze Jul 12 '26
Terraform and FluxCD can work together quite nicely. https://github.com/gitops-bridge-dev/gitops-bridge
The general idea is: bootstrap Flux/ArgoCD, pass certain parts of the terraform state to the cluster using seeded secrets. Really handy for communicating resource IDs of other static infrastructure to Kubernetes components that might need them (TLS cert arns, VPC/security group names, etc).