Skip to content

Conversation

@matheuscscp
Copy link
Member

@matheuscscp matheuscscp commented Apr 17, 2025

While testing the RFC implementation I got blocked by the fact that we try to create the ServiceAccount token bound to a pod in order to support EKS Pod Identity, which has this requirement. The only pod we can be sure exists is the controller pod itself, so we use the os.Getenv("HOSTNAME") environment variable. However, the Kubernetes API does not accept issuing a ServiceAccount token bound to a pod that does not use that ServiceAccount.

Conclusion: It's impossible to support EKS Pod Identity for multi-tenant workload identity, it works only for the single-tenant version. We can only support IRSA for multi-tenant workload identity.

@matheuscscp matheuscscp merged commit a6b5013 into main Apr 29, 2025
5 checks passed
@matheuscscp matheuscscp deleted the update-rfc-0010 branch April 29, 2025 16:29
@matheuscscp matheuscscp mentioned this pull request May 15, 2025
71 tasks
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