[x] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR if necessary.
How has this code been tested
By running provider.addtype target with a repo that is notgithub.com/crossplane/* i.e. github.com/myorg/*
Once run, go to generated controller and check that imports have the correct format.
Description of your changes
Pass down full repo name to controller template, so imports are correctly generated.
Fixes #66
I have:
make reviewable
to ensure this PR is ready for review.backport release-x.y
labels to auto-backport this PR if necessary.How has this code been tested
By running
provider.addtype
target with a repo that is notgithub.com/crossplane/*
i.e.github.com/myorg/*
Once run, go to generated controller and check that imports have the correct format.