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

Restrict node access to cluster metadata service #203

Merged
merged 4 commits into from
Jul 4, 2019

Conversation

marko7460
Copy link
Contributor

This PR is implementation of #166 based on @aaron-lane's last comment.

See #166 for more details.

Copy link
Contributor

@aaron-lane aaron-lane left a comment

Choose a reason for hiding this comment

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

The current implementation will force a recreation of the cluster and the node pool if the user tries to migrate from a GA module to a beta module because adding workload_metadata_config forces recreation. Similar to #205, can we implement this in a way where workload_metadata_config is passed an empty array if node_metadata is set to "UNSPECIFIED", or will that have a different effect?

@marko7460
Copy link
Contributor Author

@aaron-lane you are correct that node_metadata will cause node-pools to be recreated. I will implement your solution.

@aaron-lane
Copy link
Contributor

Thanks @marko7460 and @dmyerscough!

@aaron-lane aaron-lane merged commit f15c674 into terraform-google-modules:master Jul 4, 2019
aaron-lane added a commit that referenced this pull request Jul 4, 2019
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.

None yet

2 participants