You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once I open PR, that's what I get in the planner controller logs:
{"level":"error","ts":"2025-01-31T10:11:14.172Z","logger":"polling-server","msg":"failed to reconcile Terraform object for PR","version":"","sha":"","terraform":"product-a-tf-config","namespace":"flux-system","source":"product-a-git-repo","PR ID":"2",
"error":"unable to reconcile Source for Terraform object product-a-tf-config-pr-2 in the namespace flux-system: reconcile failed for Source product-a-git-repo-274fa63f241dc5005619-pr-2 in the namespace flux-system: gitrepositories.source.toolkit.fluxcd.io is forbidden: User "system:serviceaccount:flux-system:tf-controller" cannot create resource "gitrepositories" in API group "source.toolkit.fluxcd.io" in the namespace "flux-system""}
Is there anything I am missing in my configuration?
The text was updated successfully, but these errors were encountered:
Hello
I just created fresh installation of Flux + Tofu controller with Branch Planner enabled. I follow the guide: https://flux-iac.github.io/tofu-controller/branch-planner/branch-planner-getting-started/
Once I open PR, that's what I get in the planner controller logs:
{"level":"error","ts":"2025-01-31T10:11:14.172Z","logger":"polling-server","msg":"failed to reconcile Terraform object for PR","version":"","sha":"","terraform":"product-a-tf-config","namespace":"flux-system","source":"product-a-git-repo","PR ID":"2",
"error":"unable to reconcile Source for Terraform object product-a-tf-config-pr-2 in the namespace flux-system: reconcile failed for Source product-a-git-repo-274fa63f241dc5005619-pr-2 in the namespace flux-system: gitrepositories.source.toolkit.fluxcd.io is forbidden: User "system:serviceaccount:flux-system:tf-controller" cannot create resource "gitrepositories" in API group "source.toolkit.fluxcd.io" in the namespace "flux-system""}
Is there anything I am missing in my configuration?
The text was updated successfully, but these errors were encountered: