Fix ssh key replacement

Correct the user for ssh in replacement

Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: I48a04a8d9be1c05fe36b78c27c4fec2cfc7f4daa
(cherry picked from commit c58a4177f8097113c514d7f7128d348508ff35ab)
This commit is contained in:
Sreejith Punnapuzha 2021-04-06 10:38:55 -05:00
parent a019b7391c
commit 07b9e4ce73

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%"