crossplane / upjet

A code generation framework and runtime for Crossplane providers
Apache License 2.0
293 stars 84 forks source link

Add mention of config.WithRootGroup() to terraform migration document #160

Closed bobh66 closed 1 year ago

bobh66 commented 1 year ago

What happened?

When migrating from terrajet to upjet a new configuration option is required to maintain the existing API root group, for example:

config.WithRootGroup('foo.crossplane.io')

is required to continue to use the foo.crossplane.io API group.

The default is to use upbound.io for the root group.

How can we reproduce it?

Follow the migration guide for a non-upbound.io resource and observe that the API root group changes to upbound.io when the new resource is generated.

haarchri commented 1 year ago

@bobh66 this is now configurable in our upjet-provider-tenmplate https://github.com/upbound/upjet-provider-template/pull/50