Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add support for NATOutgoingAddress option #2028
Related to projectcalico/libcalico-go#1089.
As in that PR, this is for addressing projectcalico/calico#2222. We chose to implement this by allowing users to specify the IP address being used rather than using the BGP address by default because it seemed more flexible. For our use case we are using the Kubernetes downward API to supply this address. I've tested this by setting/unsetting FELIX_NATOUTGOINGADDRESS in a calico node container using the modified felix.
neiljerram left a comment
@maxstr Thanks, I'm happy with the changes here. Now it just needs a rebase and addition of the glide pin changes. I've made a parallel PR at #2035 that does that, and which passes CI, so basically you just need to make this PR look like that one, by rebasing and adding the "Bump ..." commit.
Data model change in libcalico-go is now done.