Skip to content

airnity/setup-kubeconfig-action

Repository files navigation

Setup kubeconfig action

This action create a kubeconfig file in ~/.kube/config for connecting to the Kubernetes cluster using a specific IAM role.

Inputs

cluster-name

Required The name of the EKS cluster to connect to.

cluster-region

Required The AWS region where the EKS cluster is deployed.

account-id

Required The AWS account id where the cluster is.

role-name

Required The name of the AWS role to assume.

Example usage

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

About

Action to create kubeconfig file for EKS clusters

Resources

Stars

Watchers

Forks

Packages

No packages published