Skip to content

Getting a lot of exceptions when creating a custom resource #2607

Answered by metacosm
heruan asked this question in Q&A
Discussion options

You must be logged in to vote

It's difficult to tell just from this context but it might indeed be a timing issue, where some of your dependents might require the RoleBinding to be created before they can be reconciled. In that situation, you can create your workflow in such a way that the dependents that depend on the RoleBinding being present won't be reconciled until the RoleBinding exists either via a "depends on" relationship or a reconcile precondition on the dependents that require the RoleBinding to be reconciled. See https://javaoperatorsdk.io/docs/workflows/#elements-of-workflow for more details.

Replies: 2 comments 3 replies

Comment options

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

Answer selected by heruan
Comment options

You must be logged in to vote
2 replies
@heruan
Comment options

@csviri
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants