terrajet
terrajet copied to clipboard
Update documentation to support non-crossplane-contrib repositories
What problem are you facing?
Hello, the documentation is a bit mysterious when updating the repository variables in the makefile
As most users are not able to contribute to crossplane-contrib projects it seems appropriate to adjust the repo url to your own projects url
However, this prevents 'make generate' from completing as it would require many reference changes in files
How could Terrajet help solve your problem?
Please could you update the guide so it supports users who do not have access to deploy to crossplane-contrib
Ie providing some sort of script to find replacing these values automatically
Possible solution. In hack/prepare.sh add this line git grep -l 'crossplane-contrib' -- ${REPLACE_FILES} | xargs sed -i.bak "s/crossplane-contrib/<your_repo>/g" <--Add line # Clean up the .bak files created by sed <--This line exists for reference git clean -fd<--This line exists for reference
And, if using Athens server then add to Makefile export GOPROXY := https://proxy.golang.<your_company>.com
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.