Skip to content
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

Fix Panic when no artifact in source #832

Merged
merged 1 commit into from
Jul 14, 2022
Merged

Conversation

souleb
Copy link
Member

@souleb souleb commented Jul 13, 2022

fixes #830

If implemented, the helmrepository type will be used to decide whether a reconciliation can continue in the absence of source artifact, instead of url.

This solve the edge case where we have an https helmrepository with an oci url.

Signed-off-by: Soule BA soule@weave.works

@somtochiama
Copy link
Member

@souleb I think we should also add in a check(in the helmrepository_controller?) for when the URL has oci:// prefix but the type isn't set to oci so we can return a clearer error message.

@souleb
Copy link
Member Author

souleb commented Jul 14, 2022

@souleb I think we should also add in a check(in the helmrepository_controller?) for when the URL has oci:// prefix but the type isn't set to oci so we can return a clearer error message.

That's what I think too. But not sure we want to as it is the default type. Anyway can be a separate PR I think.

If implemented, the helmrepository type will be used to decide whether a
reconciliation can continue in the absence of source artifact, instead
of url.

Signed-off-by: Soule BA <soule@weave.works>
@stefanprodan stefanprodan mentioned this pull request Jul 14, 2022
@stefanprodan stefanprodan added the area/helm Helm related issues and pull requests label Jul 14, 2022
@stefanprodan stefanprodan merged commit 0bf9de3 into fluxcd:main Jul 14, 2022
@souleb souleb deleted the issue-830 branch July 15, 2022 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/helm Helm related issues and pull requests
Projects
None yet
4 participants