Skip to content

Direct updates on AppProject and Repository must be reverted by the agent #546

@chetan-rns

Description

@chetan-rns

Describe the bug

The control plane is the source of truth in managed mode. So, any direct changes made by the user on the workload cluster must be reverted by the agent. We have already added this functionality for apps. We need to follow a similar logic for AppProjects and Repositories.

Steps to reproduce the behaviour

  1. Create an AppProject/Repository on the control plane
  2. The resource will get synced to the workload cluster
  3. Make changes to the resource on the workload cluster
  4. The changes are not reverted.

Expected behavior
The agent must revert any direct changes made to the resources on the workload cluster.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions