digitalocean-cloud-controller-manager
digitalocean-cloud-controller-manager copied to clipboard
Change FAKE_REGION to REGION
This change addresses #511, and is needed for running the Digitalocean-CCM outside of Digitalocean.
Hi, thanks for the comments :) I fixed your suggestions, could you take a look again?
Hi @timoreimann , could you take one more look at it? Thanks :)
I just tried this out locally by setting REGION
to fra1
but getting an error:
1 main.go:67] Cloud provider could not be initialized: could not init cloud provider \"digitalocean\": failed to determine region: invalid region specified: fra1\n","stream":"stderr","time":"2022-10-04T07:55:19.141267853Z"}
Something is still off here. 🤔
Got it: https://github.com/digitalocean/digitalocean-cloud-controller-manager/pull/513/files#r986547512
@shatoboar could you please address this one?
Got it: https://github.com/digitalocean/digitalocean-cloud-controller-manager/pull/513/files#r986547512
@shatoboar could you please address this one?
Done :D
@shatoboar looks like we need to run go mod tidy && go mod vendor
as well.
Doing some final testing tomorrow and will merge afterwards if everything goes well. 🤞
Working as expected. Thanks for the contribution @shatoboar.