Skip to content

Helmfile with Helm 4 with option force: true errored out Flag --force has been deprecated #2476

Description

@dejanski

Operating system

macOS 15.7.3

Helmfile Version

1.4.1

Helm Version

v4.1.1

Bug description

Helm 4 with option force: true errored out Flag --force has been deprecated
helmfile version : 1.4.1
helm version: v4.1.1

name: example
chart: example/example
namespace: default
version: 1.0.0
force: true

Example helmfile.yaml

name: metrics-server
chart: metrics-server/metrics-server
namespace: kube-system
version: 1.0.0
force: true

Error message you've seen (if any)

EXIT STATUS
  1

STDERR:
  Flag --force has been deprecated, use --force-replace instead

Steps to reproduce

N/A

Working Helmfile Version

1.4.1

Relevant discussion

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No 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