jtblin / kube2iam

kube2iam provides different AWS IAM roles for pods running on Kubernetes
BSD 3-Clause "New" or "Revised" License
1.98k stars 319 forks source link

How to use kube2iam on self hosted cluster #362

Open jyotibhanot opened 1 year ago

jyotibhanot commented 1 year ago

I have a self hosted cluster on baremetal servers with calico as a CNI. I also have AWS account where I have created the user with specific permissions.

This is what my values.yaml looks like

rbac:
  create: true

aws:
  # AWS region
  region: <AWS_REGION>

host:
  # Host interface configuration
  interface: "cali+"

Is there some way I can use my user to assume the roles created for microservices in pod.

What is the best method to use IAM roles in self hosted cluster.