Skip to content

A Reconciler to avoid crossplane keep polling the resource by adding the annotation `crossplane.io/paused`.

Notifications You must be signed in to change notification settings

july2993/crossplane-pause

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Reconciler to avoid crossplane keep polling the resource by adding the annotation crossplane.io/paused.

It will pause the resource if and only if:

  1. The resource is Ready and Sync.
  2. The time since last time we pause it is not longer than FrozenTimeDuration.
  3. The resource is not deleted.

It will unpause the resource if one of the flowing condition is met:

  1. The resource deleted.
  2. The resource is paused longer than UnPausePollInterval.
  3. The spec is updated.

See example.go about how to use it.

About

A Reconciler to avoid crossplane keep polling the resource by adding the annotation `crossplane.io/paused`.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages