Skip to content

Refresh package install after pausing it during updation #929

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

Merged
merged 1 commit into from
Oct 19, 2022

Conversation

praveenrewar
Copy link
Member

@praveenrewar praveenrewar commented Oct 11, 2022

What this PR does / why we need it:

Refresh package install after pausing it during updation.
Pausing a package install causes a change in observedGeneration, due to this it needs to be refreshed to be able to update it later on.

Which issue(s) this PR fixes:

Fixes #924

Does this PR introduce a user-facing change?

NONE

Additional Notes for your reviewer:

Review Checklist:
  • Follows the developer guidelines
  • Relevant tests are added or updated
  • Relevant docs in this repo added or updated
  • Relevant carvel.dev docs added or updated in a separate PR and there's
    a link to that PR
  • Code is at least as readable and maintainable as it was before this
    change

Additional documentation e.g., Proposal, usage docs, etc.:


@praveenrewar praveenrewar force-pushed the cli-pkg-install-update branch from 576716e to 9a7304d Compare October 11, 2022 09:27
@praveenrewar praveenrewar changed the title Fix package installed update Refresh package install after pausing it during updation Oct 11, 2022
@praveenrewar praveenrewar marked this pull request as ready for review October 11, 2022 09:48
@praveenrewar praveenrewar requested a review from 100mik October 11, 2022 09:48
@praveenrewar praveenrewar force-pushed the cli-pkg-install-update branch from 9a7304d to c77b87d Compare October 18, 2022 10:57
After a package install is paused successfully, the observedGeneration is updated resulting in conflicts while updating the package install
@praveenrewar praveenrewar force-pushed the cli-pkg-install-update branch from c77b87d to 06002d5 Compare October 18, 2022 15:51
Copy link
Contributor

@100mik 100mik left a comment

Choose a reason for hiding this comment

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

LGTM!

@praveenrewar praveenrewar merged commit f54408f into develop Oct 19, 2022
@praveenrewar praveenrewar deleted the cli-pkg-install-update branch October 19, 2022 04:29
@praveenrewar praveenrewar added the cli Issue for kapp-controller cli label Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-not-required cli Issue for kapp-controller cli
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kctrl: Updating version and values-file at the same time for an installed package errors out
3 participants