tofu-controller with the Forgejo branch-planner fix (branch forgejo-provider). Upstream: mirrors/tofu-controller.
  • Go 96.2%
  • Shell 1.6%
  • Makefile 1.1%
  • Go Template 0.4%
  • Dockerfile 0.4%
  • Other 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hunter Egnatis ff12309a58 branch-planner: branch-planner-namespace annotation runs PR plans in their own namespace
The PR source and plan objects go to the named namespace; plans read the
original state through a kubernetes backend pointed at the original
namespace. Keeps the plan runner away from the original Secrets.
2026-11-15 14:42:11 -05:00
.github fix(deps): remove libcrypto3 pin (#1874) 2026-08-31 16:47:30 +01:00
api fix(branch-planner): replace the PR source ref and only plan PRs targeting the tracked branch (#1908) 2026-10-23 16:22:23 +01:00
charts/tofu-controller chore: release 0.16.6 (#1920) 2026-10-26 20:02:46 +00:00
cmd fix: cancel runner calls when the runner connection stays down (#1907) 2026-10-26 15:16:50 +00:00
config chore: release 0.16.6 (#1920) 2026-10-26 20:02:46 +00:00
controllers fix: cancel runner calls when the runner connection stays down (#1907) 2026-10-26 15:16:50 +00:00
docs chore: release 0.16.6 (#1920) 2026-10-26 20:02:46 +00:00
hack fix: migrate to crd-ref-docs (#1757) 2026-04-10 15:16:31 +01:00
internal branch-planner: branch-planner-namespace annotation runs PR plans in their own namespace 2026-11-15 14:42:11 -05:00
logos Add weaveworks logo 2023-06-07 14:53:39 +07:00
mtls chore!: remove unused option "--cert-validity-duration" (#1826) 2026-06-17 13:21:18 +01:00
rfcs rename github.com/weaveworks/tf-controller to github.com/flux-iac/tofu-controller 2024-02-27 18:17:56 +01:00
runner feat: support plan-only options via spec.plan (e.g. -lock=false) (#1812) 2026-06-08 09:41:50 +01:00
tfctl chore(deps): go minor bumps (#1910) 2026-10-23 16:01:02 +01:00
tools fix(deps): remove libcrypto3 pin (#1874) 2026-08-31 16:47:30 +01:00
utils refactor: simplify quota error detection to utils package 2026-04-16 16:53:47 +01:00
.dockerignore tilt: speed up compiling of binaries 2024-03-09 08:25:11 +01:00
.gitignore chore(ci): prepare for new release (#1709) 2026-01-27 09:58:40 +00:00
.go-version chore(deps): go minor bumps (#1910) 2026-10-23 16:01:02 +01:00
.goreleaser.yml chore(ci): prepare for new release (#1709) 2026-01-27 09:58:40 +00:00
.trivyignore fix: remove CVE exceptions from trivyignore file (#1794) 2026-05-14 11:17:17 +01:00
ADOPTERS.md Update ADOPTERS.md 2023-06-07 14:59:05 +07:00
CHANGELOG.md chore: release 0.16.6 (#1920) 2026-10-26 20:02:46 +00:00
ct.yaml feat: add servicemonitor for chart 2022-12-05 08:55:47 +01:00
DCO Add DCO, text taken from https://developercertificate.org/ 2023-08-17 15:19:41 +01:00
DEVELOPMENT.md chore(docs): update docs to refer to CNCF Slack Channel (#1644) 2025-11-25 11:18:46 +00:00
Dockerfile chore(deps): go minor bumps (#1910) 2026-10-23 16:01:02 +01:00
Dockerfile.dev fix(deps): remove libcrypto3 pin (#1874) 2026-08-31 16:47:30 +01:00
go.mod branch-planner: GIT_PROVIDER for self-hosted Gitea/Forgejo, tokenFile, open PRs only 2026-11-15 12:57:00 -05:00
go.sum fix(branch-planner): replace the PR source ref and only plan PRs targeting the tracked branch (#1908) 2026-10-23 16:22:23 +01:00
LICENSE change LICENSE to Apache License version 2 2024-02-27 15:41:31 +07:00
lintconf.yaml feat: add servicemonitor for chart 2022-12-05 08:55:47 +01:00
local-e2e.sh fix: stop injecting CR metadata labels into Kubernetes backend state Secret selector (#1808) 2026-06-19 17:27:54 +01:00
MAINTAINERS chore: add self to MAINTAINERS 2025-11-17 20:11:57 +00:00
Makefile fix(deps): remove libcrypto3 pin (#1874) 2026-08-31 16:47:30 +01:00
mkdocs.yml Rename Weave GitOps to tofu-controller 2025-03-19 20:57:36 +01:00
planner.Dockerfile chore(deps): go minor bumps (#1910) 2026-10-23 16:01:02 +01:00
planner.Dockerfile.dev fix(deps): remove libcrypto3 pin (#1874) 2026-08-31 16:47:30 +01:00
PROJECT rename github.com/weaveworks/tf-controller to github.com/flux-iac/tofu-controller 2024-02-27 18:17:56 +01:00
README.md chore(docs): update docs to refer to CNCF Slack Channel (#1644) 2025-11-25 11:18:46 +00:00
RELEASE_PROCESS.md chore(ci): prepare for new release (#1709) 2026-01-27 09:58:40 +00:00
runner-azure.Dockerfile fix(deps): bump python packages (#1858) 2026-08-06 13:59:46 +01:00
runner-base.Dockerfile chore(deps): go minor bumps (#1910) 2026-10-23 16:01:02 +01:00
runner.Dockerfile fix(deps): bump opentofu to v1.12.1 (#1806) 2026-05-28 22:45:06 +01:00
runner.Dockerfile.dev fix(deps): remove libcrypto3 pin (#1874) 2026-08-31 16:47:30 +01:00
SECURITY.md Update SECURITY.md 2024-03-04 01:06:05 +07:00
Tiltfile fix(deps): remove libcrypto3 pin (#1874) 2026-08-31 16:47:30 +01:00

Tofu Controller: An IAC Controller for Flux

OpenSSF Best Practices

Tofu Controller (previously known as Weave TF-Controller) is a controller for Flux to reconcile OpenTofu and Terraform resources in the GitOps way. With the power of Flux together with OpenTofu and Terraform, Tofu Controller allows you to GitOps-ify infrastructure, and application resources, in the Kubernetes and IAC universe, at your own pace.

"At your own pace" means you don't need to GitOps-ify everything at once.

Tofu Controller offers many GitOps models:

  1. GitOps Automation Model: GitOps your OpenTofu and Terraform resources from the provision steps to the enforcement steps, like a whole EKS cluster.
  2. Hybrid GitOps Automation Model: GitOps parts of your existing infrastructure resources. For example, you have an existing EKS cluster. You can choose to GitOps only its nodegroup, or its security group.
  3. State Enforcement Model: You have a TFSTATE file, and you'd like to use GitOps enforce it, without changing anything else.
  4. Drift Detection Model: You have a TFSTATE file, and you'd like to use GitOps just for drift detection, so you can decide to do things later when a drift occurs.

Get in touch

If you have a feature request to share or a bug to report, please file an issue.

You can also reach out via our Tofu Controller Slack channel — get there by first joining the CNCF Slack space.

Quickstart and documentation

To get started check out this guide on how to GitOps your Terraform resources with Tofu Controller and Flux.

Check out the documentation and use cases.