Skip to content
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

Fix issue that blocked status updates #199

Merged
merged 1 commit into from
Aug 12, 2021
Merged

Fix issue that blocked status updates #199

merged 1 commit into from
Aug 12, 2021

Conversation

glrf
Copy link
Contributor

@glrf glrf commented Aug 12, 2021

Update on the main resource does not update the status, but it does fetch the current version of that status from k8s. We currently use the orginal object in this update call, which has its status overwritten. We need to copy the resource when updating to make sure that we can update both the resource and its status.

Checklist

  • Keep pull requests small so they can be easily reviewed.
  • Categorize the PR by setting a good title and adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency
    as they show up in the changelog

Update on the main resource does not update the status, but it
does fetch the current version of that status from k8s. We
currently use the orginal object in this update call, which has
its status overwritten.  We need to copy the resource when
updating to make sure that we can update both the resource and
 its status.
@glrf glrf added the bug Something isn't working label Aug 12, 2021
@glrf glrf requested a review from ccremer August 12, 2021 14:27
@glrf glrf self-assigned this Aug 12, 2021
@glrf glrf merged commit bb08ca5 into master Aug 12, 2021
@glrf glrf deleted the bug/status-update branch August 12, 2021 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants