mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Add eks case to GetSigner()
This commit is contained in:
parent
2e01f6d04d
commit
ce79d27048
@ -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