This action create a kubeconfig file in ~/.kube/config
for connecting to the Kubernetes cluster using a specific IAM role.
Required The name of the EKS cluster to connect to.
Required The AWS region where the EKS cluster is deployed.
Required The AWS account id where the cluster is.
Required The name of the AWS role to assume.
uses: airnity/setup-kubeconfig-action@v2
with:
cluster-name: myEKSCluster
cluster-region: eu-west-1
account-id: 123456789101
role-name: eks-apps-deployer-dev.role