File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -241,6 +241,12 @@ spec:
241
241
[Unit]
242
242
Requires=containerd.service
243
243
After=containerd.service
244
+ # The CAPK automatic SSH key authorization doesn't work for Ignition as it assumes cloud-init
245
+ # is used. We need to explicitly add a key to be able to SSH into cluster nodes.
246
+ users :
247
+ - name : core
248
+ sshAuthorizedKeys :
249
+ - " ${SSH_AUTHORIZED_KEY}"
244
250
---
245
251
apiVersion : cluster.x-k8s.io/v1beta1
246
252
kind : MachineDeployment
Original file line number Diff line number Diff line change @@ -241,6 +241,12 @@ spec:
241
241
[Unit]
242
242
Requires=containerd.service
243
243
After=containerd.service
244
+ # The CAPK automatic SSH key authorization doesn't work for Ignition as it assumes cloud-init
245
+ # is used. We need to explicitly add a key to be able to SSH into cluster nodes.
246
+ users :
247
+ - name : core
248
+ sshAuthorizedKeys :
249
+ - " ${SSH_AUTHORIZED_KEY}"
244
250
---
245
251
apiVersion : cluster.x-k8s.io/v1beta1
246
252
kind : MachineDeployment
You can’t perform that action at this time.
0 commit comments