crossplane-contrib / provider-gcp

Crossplane GCP provider
Apache License 2.0
119 stars 102 forks source link

Update INSTALL.md to include local development instructions #107

Open vadasambar opened 4 years ago

vadasambar commented 4 years ago

I have built my gcp-stack image following the INSTALL.md

But it ends at Install part with TBD. I also tried out installing this using the crossplane repo's way (by running scripts under cluster/local/minikube.sh up) but there are not scripts under cluster/ folder.

Will running the built image as deployment do or is there any canonical/recommended way to install gcp-stack in my minikube?

hasheddan commented 4 years ago

@vadasambar sorry for just getting to this! You will need to install crossplane before installing stack-gcp (recommend the instructions here). If you want to develop locally and you have your kubeconfig set, you can simply run the stack directly go run cmd/stack/main.go after installing crossplane. Also, the minikube script you are looking for is here. Feel free to reach out in Slack if you have any trouble and we can walk through it there :) I am going to update this issue to reflect that INSTALL.md needs to be updated.

vadasambar commented 4 years ago

Hey @hasheddan, thank you for the reply! I had crossplane installed on my minikube using the installation guide. I was stuck at stack-gcp installation. I will try out running the stack on the cli.

vadasambar commented 4 years ago

Hi @hasheddan, do I need to install the CRDs before running the stack directly using go run cmd/stack/main.go?

hasheddan commented 4 years ago

@vadasambar Yes! If the stack is installed via a stack package then the CRDs will be installed for you, but if running the controller manager directly locally then you must manually install the CRDs.