Welcome to Juju Resources’s documentation!¶
Juju Resources provides helpers for Juju Charms to load binary resources from external sources, as well as tools for creating mirrors of external resources for network-restricted deployments.
This is intended as a stop-gap until Juju has core support for resources, as well as to prototype what features are needed.
Using Juju Resources in a Charm requires defining a set of resources in
a resources.yaml file, and then using the Python
API or the command-line to fetch
,
verify
, and
reference
the resources.
If you are going to deploy one or more Charms that uses Juju Resources in an
environment with limited network connectivity, you can also manually create a
mirror of the Charms’ resources by using the command-line to
fetch
them ahead of time, when you have
network access, and then serve
the resources
to the charms when you deploy them.