Skip to content

Controller<T> event duplication #279

Closed
@clux

Description

Noticing an issue where we are receiving events for the patch operations we did to our own crd's status.

example reconciler from controller-rs

This is the dumbest reconciler we have in any example;

  • foo crd touched
  • patch its status object with a bool

But the last step now triggers the reconciler again because the crd was touched (by ourselves).
It perhaps possible that we can put an "ignore" on events coming in from the event that we "expect" to see updates, but that seems error prone (as well as difficult).

Not sure this is necessarily a bad thing, but I expect this is counter-intuitive.

Because you were so helpful last time around @alexeldeib , do you have any hints from controller-runtime for this?

Metadata

Assignees

No one assigned

    Labels

    help wantedNot immediately prioritised, please help!questionDirection unclear; possibly a bug, possibly could be improved.runtimecontroller runtime related

    Type

    No type

    Projects

    • Status

      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions