Fix ssh key replacement

Correct the user for ssh in replacement

Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: I48a04a8d9be1c05fe36b78c27c4fec2cfc7f4daa
This commit is contained in:
Sreejith Punnapuzha 2021-04-06 10:38:55 -05:00
parent 346196e6c1
commit c58a4177f8
1 changed files with 1 additions and 1 deletions

View File

@ -17,4 +17,4 @@ replacements:
kind: KubeadmControlPlane
name: cluster-controlplane
fieldrefs:
- "spec.kubeadmConfigSpec.users[name=ubuntu].sshAuthorizedKeys[0]%REPLACE_HOST_SSH_KEY%"
- "spec.kubeadmConfigSpec.users[name=deployer].sshAuthorizedKeys[0]%REPLACE_HOST_SSH_KEY%"