Build up a suite of tests for remote URLs #4588
Labels
kind/regression
Categorizes issue or PR as related to a regression from a prior release.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
We have had at least two regressions with remote URLs: #4559 and #4455. We need to have a better suite of tests with all currently supported URLs so that we can make changes to the remote URL handling code more confidently, without introducing new regressions.
All of the supported URL types are documented here: https://github.com/kubernetes-sigs/kustomize/blob/master/examples/remoteBuild.md
We should have tests similar to TestRemoteResource and TestRemoteResourceGitHTTP in https://github.com/kubernetes-sigs/kustomize/blob/9452a031ba3179cf0ebf47c8577f2b601d28410e/api/krusty/remoteload_test.go that test all the possible URL types that we support.
Until #4559 is resolved, the test for the URL type in that issue should demonstrate "broken" behavior and can be updated along with the PR that fixes it.
cc @annasong20
The text was updated successfully, but these errors were encountered: