https://code.launchpad.net/~hloeung/ubuntu-repository-cache/allow-specifying-leader/+merge/427251 is a first step to rely less on Juju due to LP:1977798.
There's more work to be done, in particular removing the reliance on juju-run for triggering and pushing the latest metadata snapshot to peers.
https:/ /code.launchpad .net/~hloeung/ ubuntu- repository- cache/allow- specifying- leader/ +merge/ 427251 is a first step to rely less on Juju due to LP:1977798.
There's more work to be done, in particular removing the reliance on juju-run for triggering and pushing the latest metadata snapshot to peers.