# `Bonny.Pluggable.SkipObservedGenerations`
[🔗](https://github.com/coryodaniel/bonny/blob/v1.5.0/lib/bonny/pluggable/skip_observed_generations.ex#L1)

Halts the pipelines for a defined list of actions if the observed generation
equals the resource's generation. It also sets the observed generation value
before applying the resource status to the cluster.

## Options

* `:actions` - The actions for which this rule applies. Defaults to `[:add, :modify]`.
* `:observed_generation_key` - The resource status key where the observed generation is stored. This will be passed to `Kernel.get_in()`. Defaults to `["status", "observedGeneration"]`.

## Usage

    step Bonny.Pluggable.SkipObservedGenerations,
      actions: [:add, :modify, :reconcile],
      observed_generation_key: ~w(status internal observedGeneration)

---

*Consult [api-reference.md](api-reference.md) for complete listing*
