jodevsa/wireguard-operator

unknown field "AllowedIPs" in io.wireguard-operator.vpn.v1alpha1.WireguardPeer.spec

brdelphus opened this issue · 1 comments

Describe the bug
Trying to set AllowedIPs for peers in a particular vpn server

To Reproduce
try adding AllowedIPs: into peers


spec:
  AllowedIPs: '10.18.3.0/24,10.17.3.0/24'

Expected behavior
Modify users config to set allowed IPs

Additional context
it fails to validate it. no matter how I try it simply won't happen.

thanks

Your problem was caused because README was listing version 2.1.0 of this operator instead of the current version (2.7.0). I've created PR to address it (#218), if you upgrade to 2.7.0 it will work.

Also, this might not matter, but parameter name is allowedIPs, not AllowedIPs.