Skip to content

Enabled 'correctDrift' on GitRepo shows 'WaitApplied' state #4945

@sbulage

Description

@sbulage

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

After enabling correctDrift on existing GitRepo with modified resource, GitRepo shows WaitApplied state.

Expected Behavior

After applying correctDrift on existing GitRepo:

  • Modified resources should get original restored.
  • GitRepo should be Active instead of Modified.

Steps To Reproduce

  • Created GitRepo by NOT enabling correctDrift.
  • Modify resource and GitRepo shows Modified state.
  • Enable correctDrift on GitRepo
  • GitRepo is showing WaitApplied
  • Even after applying Force Update doesn't change the state.
  • Resources doesn't not get restored, stays in modified state.

Environment

- Architecture:
- Fleet Version: 109.0.1+up0.15.1-beta.2
- Cluster:
  - Provider:
  - Options:
  - Kubernetes Version:

Logs

Anything else?

Changed the repository of GitRepo still shows WaitApplied state.

Metadata

Metadata

Assignees

Labels

Type

No fields configured for Bug.

Projects

Status

👀 In review

Relationships

None yet

Development

No branches or pull requests

Issue actions