bundle-diff should use juju deploy --dry-run --verbose (at least optionally)
Bug #1868030 reported by
Paul Collins
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mojo: Continuous Delivery for Juju |
Fix Committed
|
Low
|
Unassigned |
Bug Description
mojo bundle-diff is very useful to gain an overview of the changes that will happen, but it doesn't show how config items will change. For example:
Changes to deploy bundle:
- set application options for ubuntu-mirror
With juju deploy --dry-run --verbose, it would give the following:
- set application options for ubuntu-mirror
setting options:
mirror_user: "ubuntu"
which is very useful when one is dealing with a spec whose correspondence with the model is not close or otherwise in doubt.
Since this could potentially leak sensitive information, perhaps it should not be enabled by default, but it'd certainly be useful to have access to it.
Related branches
lp:~pjdc/mojo/bundle-diff-verbose
- Stuart Bishop (community): Approve
- Paul Collins: Needs Resubmitting
-
Diff: 88 lines (+26/-12)2 files modifiedmojo/cli.py (+12/-1)
mojo/phase.py (+14/-11)
summary: |
- bundle-diff should use juju --dry-run --verbose (at least optionally) + bundle-diff should use juju deploy --dry-run --verbose (at least + optionally) |
Changed in mojo: | |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in mojo: | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.