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

Provision add custom security group to secondary eni in vpc cni addon custom networking #892

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

vineetjp
Copy link
Contributor

Issue #, if available: The current implementation of eniconfig manifest creation by default sets the eks cluster's security group id as secondary eni id. If a user wants to use an already existing security group id then its not possible now

Description of changes:
Provides capability to specify an existing security group for EniConfig generated by vpc cni addon. The security group id is optional in CustomNetworkingConfig, if security group is not specified cluster security group id will be used.
This change is in reference to the Custom Networking documentation steps which specifies "Replace $cluster_security_group_id with the ID of an existing security group that you want to use for each ENIConfig."

https://docs.aws.amazon.com/eks/latest/userguide/cni-custom-network.html#custom-networking-configure-kubernetes

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Collaborator

@elamaran11 elamaran11 left a comment

Choose a reason for hiding this comment

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

LGTM. @shapirov103 Please run e2e.

@shapirov103
Copy link
Collaborator

Looks great, provide e2e tests pass.

@shapirov103
Copy link
Collaborator

/do-e2e-tests

Copy link

@aws-ia-ci aws-ia-ci left a comment

Choose a reason for hiding this comment

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

end to end tests passed

Copy link
Collaborator

@shapirov103 shapirov103 left a comment

Choose a reason for hiding this comment

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

LGTM

@shapirov103 shapirov103 merged commit 0e27d32 into aws-quickstart:main Dec 18, 2023
1 check passed
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.

4 participants