-
Notifications
You must be signed in to change notification settings - Fork 209
Remove trailing slash in spec.url
when getting tags for oci repository
#792
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
Conversation
spec.url
of helm respec.url
when getting tags for oci repository
Let's make this testable in - TestOCIChartRepoisitory_Get
+ TestOCIChartRepository_Get The URL in
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! thanks @somtochiama
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remove all the changes from controllers/helmchart_controller.go as they have been add in #770 and keep this PR focused on oci_chart_repository.go and its tests.
7666490
to
b40e5b6
Compare
Signed-off-by: Somtochi Onyekwere <[email protected]>
9657302
to
35a7ea1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks.
Closes: #flux2/2857
Construct full URL for HelmRepository of OCI type properly when there's a trailing slash in
spec.url
of the helm repository.Signed-off-by: Somtochi Onyekwere [email protected]