This repository hosts a Juju plugin that makes it easy to interact with a Juju bundle.
You can install this plugin with snap:
sudo snap install juju-bundle --classic
There are several ways of using juju-bundle. You can run juju bundle --help to list the available
subcommands. The rest of this section details each individual command and example usages.
If you want to run this plugin from source, clone this repo with
https://github.com/knkski/juju-bundle.git
cd juju-bundle
You will also need to install the Rust compiler. Instructions can be found at https://rustup.rs/.
You can run this plugin and just pass in the appropriate juju deploy
commands:
# Installed via snap
juju bundle deploy bundle.yaml
# Running from source
cargo run --bin juju-bundle deploy bundle.yaml
Note that both cargo and this plugin can take arguments, so to pass
options or parameters to juju deploy itself, you will want to call it like
so:
# Installed via snap
juju bundle deploy bundle.yaml -- -m model-name
# Running from source
cargo run --bin juju-bundle -- deploy bundle.yaml -- -m model-name