Skip to content

fix(autodiscovery/flux): skip HelmRelease without chart template to avoid nil pointer panic#8680

Merged
olblak merged 2 commits into
updatecli:mainfrom
jouve:gh-8679
May 10, 2026
Merged

fix(autodiscovery/flux): skip HelmRelease without chart template to avoid nil pointer panic#8680
olblak merged 2 commits into
updatecli:mainfrom
jouve:gh-8679

Conversation

@jouve
Copy link
Copy Markdown
Contributor

@jouve jouve commented May 8, 2026

Fix #8679

Test

To test this pull request, you can run the following commands:

go test -test.fullpath=true -timeout 30s -run ^TestDiscoverManifests$ github.com/updatecli/updatecli/pkg/plugins/autodiscovery/flux

Additional Information

Checklist

  • I have updated the documentation via pull request in website repository.

Tradeoff

Potential improvement

olblak
olblak previously approved these changes May 10, 2026
Copy link
Copy Markdown
Member

@olblak olblak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the good catch

@olblak olblak enabled auto-merge (squash) May 10, 2026 07:43
@olblak olblak added bug Something isn't working autodiscovery All things related to the autodiscovery feature flux labels May 10, 2026
@olblak
Copy link
Copy Markdown
Member

olblak commented May 10, 2026

@jouve Thank for the pull request, could you have a look to the failing test?

auto-merge was automatically disabled May 10, 2026 10:25

Head branch was pushed to by a user without write access

@olblak olblak enabled auto-merge (squash) May 10, 2026 18:10
@olblak olblak merged commit 8f08f61 into updatecli:main May 10, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autodiscovery All things related to the autodiscovery feature bug Something isn't working flux

Projects

None yet

Development

Successfully merging this pull request may close these issues.

panic with flux autodiscovery

2 participants