Skip to content

Interactive apply asks even for no changes #679

Description

@sjentzsch

Operating system

Ubuntu 22.04.1 LTS

Helmfile Version

0.150.0

Helm Version

v3.11.0

Bug description

After upgrading from v0.144.0 to latest 0.150.0 I have the interactive apply (-i apply) of helmfile interrupt even for chart releases with no changes.

Building dependency release=meta-ns, chart=../charts/namespace
Comparing release=meta-ns, chart=../charts/namespace

Do you really want to apply?
  Helmfile will apply all your changes, as shown above.

I consider this a bug, as "changes, as shown above" is quite misleading if there are no changes.
I checked that there were no changes made even when re-applying (to ensure there are changes, but not shown), but that was not the case.

Also tried several helm diff plugin version (from 3.6.0 to 3.4.0).

My feeling is, a regression bug since migration to cobra as a CLI toolkit?
Can s/o confirm (or disprove) this behavior?

Example helmfile.yaml

would be the case with any helmfile, re-applying your changes with -i apply

Error message you've seen (if any)

see above

Steps to reproduce

see above

Working Helmfile Version

0.150.0

Relevant discussion

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions