With help from SEG, we found out that doing `juju config prometheus2 rules-update-ssh-key=@private_ssh_key_file` worked, where the following did not work in my scenario:
`juju config prometheus rules-update-ssh-key="$(cat <private_ssh_key_file>)"`
`juju config prometheus rules-update-ssh-key="<pasted contents of the file>"
This is believed to possibly be related to the way the key was generated (probably PuTTY).
With help from SEG, we found out that doing `juju config prometheus2 rules-update- ssh-key= @private_ ssh_key_ file` worked, where the following did not work in my scenario:
`juju config prometheus rules-update- ssh-key= "$(cat <private_ ssh_key_ file>)" ` ssh-key= "<pasted contents of the file>"
`juju config prometheus rules-update-
This is believed to possibly be related to the way the key was generated (probably PuTTY).