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

Mark Framework Version in Resources to Support Framework Related Updates

Open
#1,958 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Original idea comes from @shawkins .

The framework might add an annotation to resource(s) - primary might be sufficient - to support updates of the framework. For example from v4.3 -> v4.4 we started to use SSA on Dependent Resources by default (added feature flag to use previous approach), where in some cases the update might not be trivial. Such an annotation would widen our possibilities, and we could make runtime decisions based on that. For example If a resource was before created/managed by older version of framework, we could decide to use the legacy approach automatically.

Note also that the annotation needs to be added by the framework, we already add finalizer (if needed) in a phase before the first reconciliation, this could be added in the same step if needed.

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 files or tests are named. Start by tracing the framework's pre-reconciliation step where finalizers are added, then determine how resource version metadata should be recorded and consumed during updates; done means the framework can distinguish resources created or managed by earlier versions and apply the intended compatibility behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kubernetes
Domain
infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.