You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The resource loader was expanded (#2278) to use a fork of hashicorp/go-getter.
This getter conveniently allows fetching resource yaml from a wide variety of sources.
however
the go-getter's license is not on the CNCF approved LICENSE list.
using it explodes deps, because it wraps N adapters around N independent fetchers (and N grows).
This feature has to be quickly dropped, because it blocks #1500.
Users that rely on special URL's in resource fields will have to use v3.10.0 or earlier, or write a plugin that accepts such URLs, or wait for someone else to do so.
kustomize build, or any entry in the resources, generators, transormers, components or validators, is parsed into a RepoSpec to separate the url part from the directory part.
The URL is passed to a subprocess that runs git clone to pull into a temp dir. Then the YAML is pulled from the appropriate subdir of that temp dir. So kustomize still honor's whatever git clone honors.
The resource loader was expanded (#2278) to use a fork of hashicorp/go-getter.
This getter conveniently allows fetching resource yaml from a wide variety of sources.
however
This feature has to be quickly dropped, because it blocks #1500.
Users that rely on special URL's in
resource
fields will have to use v3.10.0 or earlier, or write a plugin that accepts such URLs, or wait for someone else to do so.kustomize
build
, or any entry in theresources
,generators
,transormers
,components
orvalidators
, is parsed into a RepoSpec to separate the url part from the directory part.The URL is passed to a subprocess that runs
git clone
to pull into a temp dir. Then the YAML is pulled from the appropriate subdir of that temp dir. So kustomize still honor's whatevergit clone
honors.Digging in to history:
kustomize needs a deny list for
go.mod
files, and the presubmit should check go.mod changes against this deny list.The only way hashicorp go-getter can be reintegrated as either
/api
that the kustomize binary can depend on, but thatkubectl
won't depend on.The text was updated successfully, but these errors were encountered: