Skip to content

Action based on metadata/annotations #3895

Closed Answered by camilamacedo86
satishpasumarthi asked this question in Support
Discussion options

You must be logged in to vote

Hi,

It seems that the problem you're facing is related to implementing non-idempotent logic. This approach does not align well with the operator pattern and controller-runtime principles. The foundational rule in these designs is to clearly declare the desired state and ensure that your implementations are idempotent. This means that no matter how many times the reconciliation loop executes, it should consistently produce the same results without unintended side effects.

So, you need think in something like:

Always, when has not the annotation to do A and etc.
For further information, I would like to suggest you check out the following links.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by camilamacedo86
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants