Skip to content

Conversation

@gianlucam76
Copy link
Member

When profile has annotation profile.projectsveltos.io/paused Sveltos considers it paused and no reconciliation happens. This means:

  • set of matching clusters is not updated
  • clusterSummary instances are not updated

This PR implements code change, unit test and function test.

This PR also rewrites the comment on the field dependsOn clarifying ClusterProfile can only depend on other ClusterProfile instances and that Profile can only depend on other Profile instances.

Fixes #1358

When profile has annotation `profile.projectsveltos.io/paused` Sveltos
considers it paused and no reconciliation happens. This means:
- set of matching clusters is not updated
- clusterSummary instances are not updated

This PR implements code change, unit test and function test.

This PR also rewrites the comment on the field `dependsOn` clarifying
ClusterProfile can only depend on other ClusterProfile instances and
that Profile can only depend on other Profile instances.
@gianlucam76 gianlucam76 merged commit 1a1e452 into projectsveltos:main Aug 30, 2025
8 checks passed
@gianlucam76 gianlucam76 deleted the pause-profile branch August 30, 2025 13:01
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.

Feature Request: Allow pausing reconciliation of specific Profiles/ClusterProfiles

1 participant