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
Issue with release dependencies with needs
and multiple files
#1165
Comments
Still occurring with: $ helmfile version
▓▓▓ helmfile
Version v0.159.0
Git Commit "brew"
Build Date 24 Nov 23 01:42 CET (3 days ago)
Commit Date 24 Nov 23 01:42 CET (3 days ago)
Dirty Build no
Go version 1.21.4
Compiler gc
Platform darwin/amd64 $ helmfile -f helmfile-all.yaml lint
Adding repo ingress-nginx https://kubernetes.github.io/ingress-nginx
"ingress-nginx" has been added to your repositories
Fetching ingress-nginx/ingress-nginx
Fetching ingress-nginx/ingress-nginx
Linting release=release-1, chart=/var/folders/rh/z33gzdts36bb722jk1wmwdwr0000gn/T/helmfile3746902576/default/release-1/ingress-nginx/ingress-nginx/4.8.1/ingress-nginx
==> Linting /var/folders/rh/z33gzdts36bb722jk1wmwdwr0000gn/T/helmfile3746902576/default/release-1/ingress-nginx/ingress-nginx/4.8.1/ingress-nginx
1 chart(s) linted, 0 chart(s) failed
Linting release=release-2, chart=/var/folders/rh/z33gzdts36bb722jk1wmwdwr0000gn/T/helmfile3746902576/default/release-2/ingress-nginx/ingress-nginx/4.8.1/ingress-nginx
==> Linting /var/folders/rh/z33gzdts36bb722jk1wmwdwr0000gn/T/helmfile3746902576/default/release-2/ingress-nginx/ingress-nginx/4.8.1/ingress-nginx
1 chart(s) linted, 0 chart(s) failed
$ helmfile -f helmfile-split.yaml lint
Adding repo ingress-nginx https://kubernetes.github.io/ingress-nginx
"ingress-nginx" has been added to your repositories
Fetching ingress-nginx/ingress-nginx
Linting release=release-1, chart=/var/folders/rh/z33gzdts36bb722jk1wmwdwr0000gn/T/helmfile1230466951/default/release-1/ingress-nginx/ingress-nginx/4.8.1/ingress-nginx
==> Linting /var/folders/rh/z33gzdts36bb722jk1wmwdwr0000gn/T/helmfile1230466951/default/release-1/ingress-nginx/ingress-nginx/4.8.1/ingress-nginx
1 chart(s) linted, 0 chart(s) failed
Fetching ingress-nginx/ingress-nginx
in ./helmfile-split.yaml: release(s) "default/release-2" depend(s) on an undefined release "default/release-1". Perhaps you made a typo in "needs" or forgot defining a release named "release-1" with appropriate "namespace" and "kubeContext"? |
@kpawlik-splunk thanks for your issue. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
/remove wontfix |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Tested with latest version and this is still the case:
|
I have the same problem, using version v0.160.0. Using |
Also an issue if using
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Tested with latest version:
|
Someone know how fix this issue ? |
(preventing
|
@fafarun I am so busy recently. PR is welcome. thanks so much. |
@fafarun I'll try to work on this. but maybe in the future. |
Operating system
MacOS 13.6.1
Helmfile Version
v0.158.1
Helm Version
v3.13.2
Bug description
helmfile
fails to find release dependencies when using multiple files, using attached sample files:But when the
release-1
is moved to a separate file:Example helmfile.yaml
helmfile-all.yaml
:helmfile-split.yaml
:helmfile-release-1.yaml
:Error message you've seen (if any)
Steps to reproduce
Given in the issue description, but basically
helmfile -f helmfile-split.yaml lint
.Working Helmfile Version
(none)
Relevant discussion
No response
The text was updated successfully, but these errors were encountered: