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

mapkubeapis looks on last deployment but helm looks on last non-failed deployment #128

Open
camaeel opened this issue Nov 29, 2023 · 0 comments

Comments

@camaeel
Copy link

camaeel commented Nov 29, 2023

I had today a situation where a helm deployment had such history:
Revision 1 - status deployed
Revision 2 - status failed
Revision 3 - status failed

I run helm mapkubeapis NAME_OF_RELEASE and it showed that there were no changes needed.
Then I run helm upgrade --install and it faield that PDB has version policy/v1beta1.

It seems that helm tries to upgrade from last successful revision, but helm-mapkubeapis takes into account only last one.

As a workaround I deleted form kubernetes secrets of helm releases that are failed and run helm mapkubeapis NAME_OF_RELEASE

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