Skip to content

Use latest generation when updating final status#164

Merged
stefanprodan merged 1 commit intomainfrom
status-update
Nov 4, 2020
Merged

Use latest generation when updating final status#164
stefanprodan merged 1 commit intomainfrom
status-update

Conversation

@stefanprodan
Copy link
Copy Markdown
Member

To avoid stale status writes, we use the latest object generation before updating the final status sub-resource.

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
@stefanprodan stefanprodan added the enhancement New feature or request label Nov 4, 2020
@stefanprodan stefanprodan requested a review from hiddeco November 4, 2020 11:06
Copy link
Copy Markdown
Member

@hiddeco hiddeco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With a note that I am not yet sure this is the most idiomatic way of dealing with this issue, as I am currently in the process of finding this out myself for the Helm Controller.

@stefanprodan stefanprodan merged commit 68df710 into main Nov 4, 2020
@stefanprodan stefanprodan deleted the status-update branch November 4, 2020 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants