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

kpt: pkg update fails to update Kptfile #4012

Open
michaelvl opened this issue Jul 28, 2023 · 1 comment
Open

kpt: pkg update fails to update Kptfile #4012

michaelvl opened this issue Jul 28, 2023 · 1 comment
Labels
area/pkg bug Something isn't working

Comments

@michaelvl
Copy link
Contributor

michaelvl commented Jul 28, 2023

Expected behavior

A kpt pkg get followed by a kpt pkg update --strategy force-delete-replace results in a Kptfile that has the git information as specified in the kpt pkg update but the pipeline section of the Kptfile is from the initial kpt pkg get and not the pipeline from the kpt pkg update. The consequence is that one cannot update the package pipeline.

The problem also applies to strategy fast-forward.

Tested using kpt version 1.0.0-beta.38 and 1.0.0-beta.43.

Detailed description of the problem and steps to reproduce it can be found here: https://github.com/michaelvl/kpt-test

@michaelvl michaelvl added the bug Something isn't working label Jul 28, 2023
@github-project-automation github-project-automation bot moved this to Backlog in kpt Jul 28, 2023
@michaelvl
Copy link
Contributor Author

michaelvl commented Aug 26, 2023

A test-case that validates the problem can be found here: #4030

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/pkg bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants