Comment 5 for bug 1989393

Revision history for this message
Nobuto Murata (nobuto) wrote :

> My guess is that the model values are from defaults in the charm. But it does seem like 'diff-bundle' should be taking that sort of thing into account. Either export-bundle should be including the current values, or diff-bundle should be understanding default values.

You are right. Most of the diff can be explained by that except for some relation stuff.

`juju export-bundle` already has --include-charm-defaults option so that could be used to mitigate the lines of diff, but diff-bundle could take advantage of source=default information in the model.

[juju config barbican]
====
settings:
  action-managed-upgrade:
    default: false
    description: |
    ...
    source: default
    type: boolean
    value: false
====