#377 is supposed to add support for importing Service Accounts - and it indeed works most of the time. Still it fails sometimes if timestamp delta between Secret and Service Account is larger than 1 second. It happens from time to time - at least in EKS.
The outcome is:
Failed to discover the default service account token: Unable to find any service accounts tokens which could have been the default one
I added more details in Add support for importing service accounts by wjam · Pull Request #377 · hashicorp/terraform-provider-kubernetes · GitHub, but since that ticket is already Merged I’m not sure it’s gonna get any attention. So I’m asking here about this issue - am I missing something or I should raise a Bug ticket about this behaviour?
Thanks,
Marek