ok, one more:
I am using this example:
https://github.com/pulumi/examples/blob/16958e3f9ca4d8921e773921ae5f977861a3449d/azure-ts-aks-keda/cluster.ts
Creating privatekey
const sshPublicKey = new tls.PrivateKey("keda", {
algorithm: "RSA",
rsaBits: 4096,
}).publicKeyOpenssh;
and passing the sshPublicKey to cluster's linxProfile:
linuxProfile: {
adminUsername: "aksuser",
sshKey: {
keyData: sshPublicKey,
},
},
This was working fine for a while, but now I always get the following error:
Failure sending request: StatusCode=400 -- Original Error: Code="InvalidParameter" Message="The value of parameter linuxProfile.ssh.publicKeys.keyData is invalid. Please see
https://aka.ms/aks-naming-rules for more details." Target="linuxProfile.ssh.publicKeys.keyData"
Has anyone seen this before? I cannot figure out how to get past this issue.