mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +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 == "" {
|
if keyfile == "" {
|
||||||
keyfile = "google_compute_engine"
|
keyfile = "google_compute_engine"
|
||||||
}
|
}
|
||||||
case "aws":
|
case "aws", "eks":
|
||||||
keyfile = os.Getenv("AWS_SSH_KEY")
|
keyfile = os.Getenv("AWS_SSH_KEY")
|
||||||
if keyfile == "" {
|
if keyfile == "" {
|
||||||
keyfile = "kube_aws_rsa"
|
keyfile = "kube_aws_rsa"
|
||||||
|
Loading…
Reference in New Issue
Block a user