provider-template icon indicating copy to clipboard operation
provider-template copied to clipboard

Update to v2 package format

Open hasheddan opened this issue 5 years ago • 1 comments

Crossplane packages have been updated to a new static format. The machinery for these types of packages is still under construction, but most providers have already been updated to build the new packages manually. We should provide similar functionality in the Makefile of this repo.

Relevant Issues / PRs:

  • https://github.com/crossplane/crossplane/issues/1756
  • https://github.com/crossplane/provider-gcp/pull/257
  • https://github.com/crossplane/crossplane/pull/1795

hasheddan avatar Oct 02 '20 21:10 hasheddan

I spent some time to look at this issue and also took a look on the following PRs:

  • https://github.com/crossplane/crossplane/issues/1756
  • https://github.com/crossplane-contrib/provider-gcp/pull/257

From those references, I can see in common are changes related to:

  • Update and remove Setup Package code block
  • Update code from config/crd to package/crds in apis/generate.go
  • Replace config/packages folder with packages

In the provider-template I believe the project has been changed to so call v2 package format for awhile since this commit:

  • https://github.com/crossplane/provider-template/commit/f582148fe9f7231e35397bdd890aa293e5c739d3

So I believe it's safe to close this issue.

cychiang avatar Sep 24 '22 09:09 cychiang