mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-11 12:47:58 +03:00
Add the option to add multiple ssh public keys for Azure infrastructure (#3674)
This give users the option to define multiple ssh public keys when deploying the base infrastructure on Azure.
This commit is contained in:
committed by
Antoine Legrand
parent
9f7c2b08a5
commit
dc3195310c
@@ -66,10 +66,12 @@
|
||||
"disablePasswordAuthentication": "true",
|
||||
"ssh": {
|
||||
"publicKeys": [
|
||||
{% for key in ssh_public_keys %}
|
||||
{
|
||||
"path": "{{sshKeyPath}}",
|
||||
"keyData": "{{ssh_public_key}}"
|
||||
}
|
||||
"keyData": "{{key}}"
|
||||
}{% if loop.index < ssh_public_keys | length %},{% endif %}
|
||||
{% endfor %}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user