Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
brdelphus opened this issue Aug 7, 2024 · 1 comment

Comments

@brdelphus
Copy link

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

@prewriter
Copy link

prewriter commented Nov 19, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants