awslabs / amazon-eks-ami

Packer configuration for building a custom EKS AMI
https://awslabs.github.io/amazon-eks-ami/
MIT No Attribution
2.42k stars 1.14k forks source link

Read existing containerd config #1819

Closed nkvetsinski closed 4 months ago

nkvetsinski commented 4 months ago

Issue #, if available:

Description of changes:

Refactor nodeadm to read any existing containerd configuration and merge it in the final config.toml

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

Testing Done

Extended e2e test and tested manually with custom AMI.

See this guide for recommended testing for PRs. Some tests may not apply. Completing tests and providing additional validation steps are not required, but it is recommended and may reduce review time and time to merge.