tsims
(Tres Sims)
1
Is there any way to use Juju to deploy remotely hosted charms from locations other than Charmhub?
Ideally I would like to be able to run something like:
juju deploy https://<my-repository>/<my-charm.charm>
Does Juju currently support this sort of use case, or am I stuck downloading the charm before trying to deploy it?
ppasotti
(Pietro Pasotti)
2
there may be a better way, but what I can think of is:
juju download --charmhub-url=“http://mystore.com” mycharm.charm ; juju deploy ./mycharm.charm
aflynn
(Alastair Flynn)
3
Hey @tsims, as @ppasotti said, you can use a proxy for charmhub, Juju doesn’t support using alternative stores. There is more information on proxies here: https://canonical-juju.readthedocs-hosted.com/en/latest/user/howto/manage-your-deployment/take-your-deployment-offline/
tsims
(Tres Sims)
4
Awesome, thank you both for the info!
phileso
(Phil Eso)
5
Juju helps to pick charms from the charm hub only, I doubt alternate routes but it’s worth investigating