Closed
Description
If an ed25519 SSH key is created during flux bootstrap
adding a ImagePolicy
causes the following error to be producer by the image-automation-contoller:
{"level":"error","ts":"2021-06-15T22:29:20.579Z","logger":"controller-runtime.manager.controller.imageupdateautomation","msg":"Reconciler error","reconciler group":"image.toolkit.fluxcd.io","reconciler kind":"ImageUpdateAutomation","name":"flux-system","namespace":"flux-system","error":"unable to clone '<url>', error: Failed to authenticate SSH session: Unable to extract public key from private key."}
Deleting the flux-system secret and changing to an RSA key (by not passing any argument to flux bootstrap
) appears to fix the issue.