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

eks_cluster Add support for create-pod-identity-association #2203

Open
1 task done
eightnoneone opened this issue Dec 11, 2024 · 0 comments
Open
1 task done

eks_cluster Add support for create-pod-identity-association #2203

eightnoneone opened this issue Dec 11, 2024 · 0 comments

Comments

@eightnoneone
Copy link

Summary

I would like to use EKS Pod Identities but there is no module that does the create-pod-identity-association to connect an IAM role with a Kubernetes service account.

This concern obviously bridges the domains of EKS clusters, IAM roles, IAM policies, Postgres databases/users, and K8s service accounts. In my opinion this is most dependent on the eks_cluster feature domain since the existence of the service account or db user are not hard dependencies and the IAM roles and policy creation can already be done with existing modules.

My specific use-case is that I am trying to build an Ansible Operator using Operator SDK that can create databases and IAM authenticated database users within a pre-existing RDS instance. Using Pod Identities would allow a full chain of best practices.

The RDS instance and EKS cluster are infrastructure and created by Terraform (or other IaC).
With n applications deploy in k8s using a single RDS Instance, the application's database is a dependency of the application and thus best managed as an artifact of the deployment. Using an Operator allows separation of the RDS master admin credentials from the individual applications.

Issue Type

Feature Idea

Component Name

eks_cluster

Additional Information

Code of Conduct

  • I agree to follow the Ansible Code of Conduct
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

No branches or pull requests

1 participant