kubeletmein icon indicating copy to clipboard operation
kubeletmein copied to clipboard

EKS Metadata Tests Not Working

Open marcwickenden opened this issue 3 years ago • 0 comments

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.

marcwickenden avatar Mar 04 '21 22:03 marcwickenden