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

make kubelet config generation composable to improve testability #1583

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

ndbaker1
Copy link
Member

@ndbaker1 ndbaker1 commented Jan 18, 2024

Description of changes:

suggestion for a way to structure the config generation as a sequence of transformations functions to make unit testing single functionality simpler and avoid coming up with a solution to mock network-dependent setup

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

make test && make test-e2e

@ndbaker1
Copy link
Member Author

the last e2e test was actually a misconfigured test asset, i just had the k8s version wrong in my head 🥴

@ndbaker1 ndbaker1 marked this pull request as ready for review January 18, 2024 10:16
@cartermckinnon cartermckinnon merged commit 5cc9d50 into awslabs:al2023 Jan 19, 2024
6 checks passed
@ndbaker1 ndbaker1 deleted the testable-config branch January 19, 2024 02:53
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.

3 participants