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

fix: adds metadata to the default node pool #1018

Merged
merged 2 commits into from
Oct 11, 2021

Conversation

g-awmalik
Copy link
Contributor

This is a fix for #1000 where the default node pool doesn't accept the metadata provided as part of the module calling it. Now metadata included in "all" as well as "default-node-pool" will be applied to the default node pool preventing it from crashing in case of a specific policy constraint.

@comment-bot-dev
Copy link

comment-bot-dev commented Oct 6, 2021

Thanks for the PR! 🚀
✅ Lint checks have passed.

@g-awmalik
Copy link
Contributor Author

@bharathkkb - can you please review this?

Copy link
Member

@bharathkkb bharathkkb left a comment

Choose a reason for hiding this comment

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

Thanks @g-awmalik

autogen/main/cluster.tf.tmpl Outdated Show resolved Hide resolved
@bharathkkb bharathkkb changed the title fix:adds metadata to the default node pool fix: adds metadata to the default node pool Oct 6, 2021
@bharathkkb
Copy link
Member

@g-awmalik could you check the upgrade scenario from main to this patch if a user has already set node_pools_metadata=all{k=v}? I assume its noop but wanted to confirm so we can add upgrade docs if needed.

@g-awmalik
Copy link
Contributor Author

hey @bharathkkb - I already checked that and its noop like you said.

@bharathkkb bharathkkb merged commit 660ddc9 into terraform-google-modules:master Oct 11, 2021
CPL-markus pushed a commit to WALTER-GROUP/terraform-google-kubernetes-engine that referenced this pull request Jul 15, 2024
…#1018)

* fix:adds metadata to the default node pool

* This removes the default_node_pool metadata map

Co-authored-by: Awais Malik <awmalik@google.com>
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

Successfully merging this pull request may close these issues.

None yet

3 participants