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

Creation of new variable configure_ip_masq controlling ip masq install #187

Merged
merged 2 commits into from
Jun 26, 2019

Conversation

chrislovecnm
Copy link
Contributor

@chrislovecnm chrislovecnm commented Jun 21, 2019

Aliased IP addresses do not require ip masquerading anymore. There are few use cases where we would need ip masq, but usually it is not recommended to install ip masquerading. This variable allows
for fine gain control on the installation of ip masq as it was always installed via the
network_policy variable previously.

configure_ip_masq defaults to false.

Fixes: #172

TODO:

  • test locally

Added a new field 'configure_ip_masq' to public stub domain example. Removed the
integration control to check for ip masq in the private cluster as well.

@chrislovecnm chrislovecnm changed the title Creation of new variable configure_ip_masq controlling ip masq install [WIP] Creation of new variable configure_ip_masq controlling ip masq install Jun 21, 2019
@chrislovecnm
Copy link
Contributor Author

CI Error:

You are using pip version 10.0.1, however version 19.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Traceback (most recent call last):
  File "./helpers/generate_modules/generate_modules.py", line 21, in <module>
    from jinja2 import Environment, FileSystemLoader
ModuleNotFoundError: No module named 'jinja2'
"make generate" creates a diff, run "make generate" and commit the results
Code was generated properly
make: *** [Makefile:80: check_generate] Error 1

I am making an educated guess that #186 will resolve the problem.

@aaron-lane aaron-lane added the enhancement New feature or request label Jun 24, 2019
@morgante
Copy link
Contributor

@chrislovecnm Can you resolve conflicts?

@chrislovecnm
Copy link
Contributor Author

Yes I am OOO today

@chrislovecnm chrislovecnm force-pushed the ip-masq branch 2 times, most recently from 25def67 to e6c33fa Compare June 25, 2019 20:25
@chrislovecnm chrislovecnm changed the title [WIP] Creation of new variable configure_ip_masq controlling ip masq install Creation of new variable configure_ip_masq controlling ip masq install Jun 25, 2019
@chrislovecnm chrislovecnm changed the title Creation of new variable configure_ip_masq controlling ip masq install [WIP] Creation of new variable configure_ip_masq controlling ip masq install Jun 25, 2019
@chrislovecnm
Copy link
Contributor Author

I am having issues creating a cluster from the beta provider. I will post my TF later or tomorrow, if I cannot figure it out. Please do not merge

@chrislovecnm chrislovecnm changed the title [WIP] Creation of new variable configure_ip_masq controlling ip masq install Creation of new variable configure_ip_masq controlling ip masq install Jun 25, 2019
@chrislovecnm
Copy link
Contributor Author

@aaron-lane @morgante the PR seems to be happy. Created a cluster off of this projects beta modules, and it worked :) .

PTAL

chrislovecnm added 2 commits June 26, 2019 09:56
Aliased IP addresses do not require ip masquerading anymore.  There are  few use cases where we would
need ip masq, but usually it is not recommended to install ip masquerading. This variable allows
for fine gain control on the installation of ip masq as it was always installed via the
network_policy variable previously.

configure_ip_masq defaults to false.

Fixes: terraform-google-modules#172
Adding new field 'configure_ip_masq' to public stub domain example and
removing the same field from the private cluster example.  Removed the
integration control to check for ip masq in the private cluster as well.
@chrislovecnm
Copy link
Contributor Author

@morgante / @aaron-lane PTAL

Copy link
Contributor

@morgante morgante left a comment

Choose a reason for hiding this comment

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

Note this is a breaking change, we will need to include an explanation in the release notes/migration guide.

@chrislovecnm
Copy link
Contributor Author

@morgante / @aaron-lane can we get a merge? Maintaining three open PRs is some work rebasing them all the time. The autogen is nice, but it does not merge well at all

@morgante morgante merged commit f5bb9f8 into terraform-google-modules:master Jun 26, 2019
@morgante
Copy link
Contributor

@chrislovecnm I was just waiting for tests to pass. Merged.

@chrislovecnm chrislovecnm mentioned this pull request Jun 27, 2019
CPL-markus pushed a commit to WALTER-GROUP/terraform-google-kubernetes-engine that referenced this pull request Jul 15, 2024
…masq

Creation of new variable configure_ip_masq controlling ip masq install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ip_masq with aliased ip addresses
3 participants