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: AWSNodeTemplate controller should not produce an error if no securityGroupSelector is specified #3437

Merged
merged 6 commits into from
Feb 22, 2023

Conversation

engedaam
Copy link
Contributor

Fixes #3435

Description
Karpenter produces an error when the securityGroupSelector is not present, however a launchTemplate is present. As karpenter detects securityGroups from launchTemplates there should not be an error.

How was this change tested?
Manuel testing
*

Does this change impact docs?

  • Yes, PR includes docs updates
  • Yes, issue opened: #
  • No

Release Note


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@engedaam engedaam requested a review from a team as a code owner February 22, 2023 01:04
@netlify
Copy link

netlify bot commented Feb 22, 2023

Deploy Preview for karpenter-docs-prod canceled.

Name Link
🔨 Latest commit fb8f9ab
🔍 Latest deploy log https://app.netlify.com/sites/karpenter-docs-prod/deploys/63f66d8b0681160008cf53ef

@jonathan-innis
Copy link
Contributor

We should add an AWSNodeTemplate controller test that ensures that we don't error on reconcile now, that way we make sure that we hold the bar when there is no securityGroupSelector

Copy link
Contributor

@jonathan-innis jonathan-innis left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@engedaam engedaam merged commit a950b3a into aws:main Feb 22, 2023
@engedaam engedaam deleted the fix-securitygroups-in-launchtemplates branch February 22, 2023 21:36
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.

Security group discover fail when using launchTemplate in AWSNodeTemplate
3 participants