I created a ARM template for automatic AKS creation and/or updates. I generated a RSA public key using the Azure bash command line and entered it in the ARM template. I use the template in an Azure DevOps pipeline. Deployment failes. with the error message:
[error]InvalidParameter: Provisioning of resource(s) for container service aks-openfaas-test-0619 in resource group rg-openfaas--test-0619 failed. Message: {
"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"
}. Details: undefined
I followed the Microsoft instruction on https://docs.microsoft.com/en-us/azure/virtual-machines/linux/mac-create-ssh-keys.
What am I doing wrong?