Skip to content

How to let third parties update Java Operator SDK controlled resources #1764

Answered by csviri
juangon asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @juangon,

it can be done by overriding the matcher and/or handling this in the desired state.
So if something is just added by other controllers, you can skip those in the matcher.

Recently a sample was added that, shows how to make sure that some parts of the the desired are not modifiable, see:
#1746

So basically in this sample the desired is calculated based on actual resource (that contains already parts added by other controllers), you can use those and add those parts into the controller.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@juangon
Comment options

@csviri
Comment options

@juangon
Comment options

@csviri
Comment options

@juangon
Comment options

Answer selected by juangon
Comment options

You must be logged in to vote
1 reply
@metacosm
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