operator-framework / operator-framework/java-operator-sdk

[Dependent Resources] Don't update the resource spec if has an other owner reference with controller true

Open
#2,919 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
944
Forks
242
Avg merge
1d 4h
Merged PRs (30d)
43

Description

If a dependent resource updates a resoure based on desired it adds owner reference with controller flag set to true.
There might be the case that there is already a resource exists with owner reference where controller is true, in this case we shoul not update the spec of the resource since it is managed by an other controller.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by locating the dependent-resource reconciliation entry point and inspect how owner references and desired-state updates are handled; done means a resource with another controller owner reference is not given a new spec, while resources without one retain the existing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kubernetes
Domain
infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.