Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Change NO_MASQ_LOCAL option to default ON #3756

Merged
merged 3 commits into from
Aug 4, 2020
Merged

Change NO_MASQ_LOCAL option to default ON #3756

merged 3 commits into from
Aug 4, 2020

Conversation

murali-reddy
Copy link
Contributor

Fixes #3389

@bboreham bboreham changed the title add NO_MASQ_LOCAL environment variable to weave kube daemonset's add NO_MASQ_LOCAL=1 environment variable to weave kube daemonsets Jan 21, 2020
Copy link
Contributor

@bboreham bboreham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a change in behaviour, possibly breaking for some people, but on balance probably the right thing to do.

@bboreham
Copy link
Contributor

I just had a thought that we could make the script default ON unless it sees NO_MASQ_LOCAL=0.
This would simplify configuration and tie the change to a code release, rather than config.

@murali-reddy
Copy link
Contributor Author

This would simplify configuration and tie the change to a code release, rather than config.

updated PR to be code only change

@bboreham bboreham changed the title add NO_MASQ_LOCAL=1 environment variable to weave kube daemonsets Change NO_MASQ_LOCAL option to default ON Mar 18, 2020
Copy link
Contributor

@bboreham bboreham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

@bboreham
Copy link
Contributor

I think we should change the docs

* `NO_MASQ_LOCAL` - set to 1 to preserve the client source IP address when

What about test 840, which is setting the variable?

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

Successfully merging this pull request may close these issues.

Feature request: Please make NO_MASQ_LOCAL=1 the default setting
2 participants