kubeletmein
kubeletmein copied to clipboard
EKS Metadata Tests Not Working
From what I can tell, it's not easy to mock the AWS Go SDK ec2metadata.New()
. There's commented out code from where I tried to write a wrapper for this but, while it worked in the tests, running inside AWS this threw a segfault.
I expect it's fixable but at the moment it means we've got no tests for getUserData()
in eks.go
.