diff --git a/manifests/function/k8scontrol/replacements/generated-secrets.yaml b/manifests/function/k8scontrol/replacements/generated-secrets.yaml index cd1eba013..767e5206c 100644 --- a/manifests/function/k8scontrol/replacements/generated-secrets.yaml +++ b/manifests/function/k8scontrol/replacements/generated-secrets.yaml @@ -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%"