Skip to content

Not found errors still occur in finalizers #2440

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

You must be logged in to vote

Hi @moluzhui,

Are you fetching the resource in the beginner of your reconcile as it is done in the example: https://github.com/operator-framework/operator-sdk/blob/master/testdata/go/v3/memcached-operator/controllers/memcached_controller.go#L62-L76?

Are you adding the finalizers inside of the logic to ensure that is only called when the resource is found? (e.g. https://sdk.operatorframework.io/docs/building-operators/golang/advanced-topics/#external-resources)

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@moluzhui
Comment options

Answer selected by moluzhui
Comment options

You must be logged in to vote
0 replies
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