Skip to content

[Feature] Upgrade available endpoint / dependent upgrades #363

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
SimonBaeumer opened this issue Aug 28, 2023 · 0 comments
Open

[Feature] Upgrade available endpoint / dependent upgrades #363

SimonBaeumer opened this issue Aug 28, 2023 · 0 comments

Comments

@SimonBaeumer
Copy link
Member

Problem
In ACS we have a client<>server architecture in which our server should always be ahead or equal in its version of the clients.
Currently OLM auto-upgrades upgrade upgrade the client faster than the server, especially in our cloud environments this happens currently and need to support forward-compatible clients.

Solution
Expose an endpoint on the operator which OLM can query which marks an operator as "ready for upgrade". In this scenario, our operator can implement dependent upgrades: "Only upgrade client when central XYZ".
The endpoint can also expose the version the operator should upgrade to.

Example response:

{
  "upgradeVersion": "4.1.2-567ds2sg",
  "ready": true,
}
LalatenduMohanty pushed a commit to LalatenduMohanty/operator-controller that referenced this issue Dec 19, 2024
* ⚠ Status condition clean up

[RFC: ClusterCatalog Status Conditions](https://docs.google.com/document/d/1Kg8ovX8d25OqGa5utwcKbX3nN3obBl2KIYJHYz6IlKU/edit) implementation.

Closes [363](operator-framework#363)
Closes [364](operator-framework#364)
Closes [365](operator-framework#365)

Co-authored-by: Ankita Thomas <[email protected]>
Co-authored-by: Anik Bhattacharjee <[email protected]>

* Handle new finalizer code

Signed-off-by: Todd Short <[email protected]>

* Set StatusUpdated to true for finalizers

Signed-off-by: Todd Short <[email protected]>

---------

Signed-off-by: Todd Short <[email protected]>
Co-authored-by: Ankita Thomas <[email protected]>
Co-authored-by: Todd Short <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant