Skip to content

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

Open
@camaeel

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions