clly / wireguard-cni

12 stars 3 forks source link

Remove ipam creation from connect server initialization #80

Open clly opened 1 year ago

clly commented 1 year ago

Currently the IPAM provider is created and set in the connect server initialization. Instead pass the ipam provider itself to the connect server. This will allow us to initialize the IPAM instance and save the specific CIDR that we've previously retrieved, along with future state from wireguard.