Skip to content

Conversation

@zioproto
Copy link
Contributor

@zioproto zioproto commented Nov 4, 2024

Describe your changes

Implements default_network_profile for the default node pool

Issue number

#524

Checklist before requesting a review

  • The pr title can be used to describe what this pr did in CHANGELOG.md file
  • I have executed pre-commit on my machine
  • I have passed pr-check on my machine

Thanks for your cooperation!

Copy link
Member

@lonegunmanb lonegunmanb left a comment

Choose a reason for hiding this comment

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

@zioproto I see allowed_host_ports and application_security_group_ids in node_network_profile block, don't we need to add them in this pr?

@zioproto
Copy link
Contributor Author

@zioproto I see allowed_host_ports and application_security_group_ids in node_network_profile block, don't we need to add them in this pr?

The goal of this PR was to bring feature parity between the current extra extra_node_pool.tf and the default nodepool.

dynamic "node_network_profile" {
for_each = each.value.node_network_profile == null ? [] : ["node_network_profile"]
content {
node_public_ip_tags = each.value.node_network_profile.node_public_ip_tags
}
}

If I implement allowed_host_ports I should add it in both places, maybe I can do that in a different PR ?
It would be easier to test, because I should extend also end to end tests to cover all those scenarios.

Copy link
Member

@lonegunmanb lonegunmanb left a comment

Choose a reason for hiding this comment

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

LGTM

@lonegunmanb lonegunmanb merged commit 1c8ee49 into main Nov 15, 2024
5 checks passed
@lonegunmanb lonegunmanb deleted the fix/node_network_profile branch March 21, 2025 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants