Skip to content

helmfile fails with local dependencies and multiple release files #2596

Description

@vgivanov

Operating system

ubuntu 24.04

Helmfile Version

1.5.1

Helm Version

v3.21.0

Bug description

When helmfile.d contains multiple release files and one of releases depends on local chart helmfile template fails with error.

This problem seems similar to #2297

Example helmfile.yaml

See provided reproduction repo for minial config and steps to reproduce

Error message you've seen (if any)

If helm repo list is empty:

unexpected error: *errors.errorString: [failed reading adhoc dependencies: exit status 1

COMMAND:
  helm repo list

OUTPUT:
  Error: no repositories to show]

If there are some repos confirured:

unexpected error: *errors.errorString: [failed reading adhoc dependencies: no helm list entry found for repository "..". please `helm repo add` it!]

Steps to reproduce

https://github.com/vgivanov/helmfile-deps-local-chart

Working Helmfile Version

1.1.9

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