mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Merge pull request #72317 from shyamjvs/add-eks-get-signer
Add eks case to GetSigner()
This commit is contained in:
commit
8626cb940b
@ -3660,7 +3660,7 @@ func GetSigner(provider string) (ssh.Signer, error) {
|
||||
if keyfile == "" {
|
||||
keyfile = "google_compute_engine"
|
||||
}
|
||||
case "aws":
|
||||
case "aws", "eks":
|
||||
keyfile = os.Getenv("AWS_SSH_KEY")
|
||||
if keyfile == "" {
|
||||
keyfile = "kube_aws_rsa"
|
||||
|
Loading…
Reference in New Issue
Block a user