tofu-controller
tofu-controller copied to clipboard
Allow drift detection for new objects in drift-detection mode
This PR fixes the issue for new objects created in drift-detection-only mode. Current logic leaves Terraform CRD in Initializing status if it is created in drift detection mode.
A workaround requires manual intervention by setting approvePlan to something but not disable
PR fixes https://github.com/flux-iac/tofu-controller/issues/1371