How to manage charm resources

See also: Resource

Contents:

Thanks for this document! The words “version” and “revision” are used interchangeably in the entire document, but the very last charmcraft status output shows a difference between them. I suspect one of them is the workload’s version and the other is the charm code’s version. I think this should be clarified and the words shouldn’t be interchangeably used.

1 Like

Thanks, I’ll update this soon! :slight_smile:

This should explain how to use an OCI image without uploading a charm to the charmhub (when doing local tests for example). The only “documentation” I could find was in Comment #1 : Bug #1958253 : Bugs : juju

I think we should also have a section on how to attach an image from a local registry to a charm. something like juju deploy ./mycharm.charm --resource foo=local-registry:foo-image:42.2.0