rancher-hcloud icon indicating copy to clipboard operation
rancher-hcloud copied to clipboard

Introduce variable for private network cidr

Open stefandevo opened this issue 4 years ago • 2 comments

Hi, thanks for this, really helpful.

What might be a good idea is to add another variable to set the address range for the network. I re-created everything because the next step I use to create my clusters in Rancher, where on a different network. It seems that the cloud controller only works if you do it in the same project as where the rancher network is defined.

In module-cluster-init/resources_hetzner.tf

I changed 172.16.0.0/12 -> 10.0.0.0/16 and 172.16.1.0/24 -> 10.0.1.0/24

stefandevo avatar Jan 27 '21 19:01 stefandevo

Hi, thanks for your reply. I have marked this as a good first issue. Maybe i find the time to add this. It is not a lot of work.

alexzimmer96 avatar Jan 28 '21 09:01 alexzimmer96

Thx! Note that there is also an update of the node driver: https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/3.2.0/docker-machine-driver-hetzner_3.2.0_linux_amd64.tar.gz

stefandevo avatar Jan 28 '21 09:01 stefandevo