Skip to content

Allow drift detection for new objects in drift-detection mode#1370

Open
hirenko-v wants to merge 4 commits into
flux-iac:mainfrom
hirenko-v:drift-detection-new-objects
Open

Allow drift detection for new objects in drift-detection mode#1370
hirenko-v wants to merge 4 commits into
flux-iac:mainfrom
hirenko-v:drift-detection-new-objects

Conversation

@hirenko-v

@hirenko-v hirenko-v commented Jul 2, 2024

Copy link
Copy Markdown

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 #1371

den-vasyliev added a commit to den-vasyliev/tofu-controller that referenced this pull request Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New Terraform objects in drift-detection-only mode hang in Initializing status

1 participant