-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Git submodule needs origin #5131
Comments
reassigning to @annasong20 for reproduction and triage /assign @annasong20 |
Hi @jakedt, thanks for your patience and all the details you provided (the bit about submodules, error message, and kustomize version were very helpful). Can you confirm that your target repo refers to a submodule via a relative url? After playing around with submodules and looking at the source code, I suspect the issue is that #4783 removed the lines that set the repo clone
but I was able to reproduce the error on a repo that refers to its submodule via a relative url. Git needs the origin url to pinpoint the url of the submodule. @jakedt if you're able to confirm that
I can accept this issue! /triage needs-more-information |
@annasong20: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/triage needs-information |
Actually, though it'd be helpful for @jakedt to confirm, since I've found a bug in the code base, I'll accept this issue. This should be a relatively straightforward issue to fix! You should only have to restore the lines that set /triage accepted |
/help |
@annasong20: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/good-first-issue |
@annasong20: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@annasong20 @natasha41575 This is my first contribution in project. So I would like to start my contribution with this issue's fix. |
/assign |
/assign |
What happened?
We've got an overlay system that uses remote git resources like so:
That git repository itself has submodules in it. When we upgraded to the latest kustomize, we started getting errors like the following:
This applies whether we use
kustomize build
directly or the kustomize that's bundled withkubectl
.What did you expect to happen?
I expected to see the rendered resources on the command line.
How can we reproduce it (as minimally and precisely as possible)?
Expected output
Actual output
Kustomize version
v5.0.1
Operating system
None
The text was updated successfully, but these errors were encountered: