Command upgrade-charm

Alias for juju refresh.

I am wondering if we could have an example and clarification around adding a newly-available option during charm upgrade, and the format of this file.

For instance, if I’m upgrading from openstack-charmers applications before 21.10 to 21.10+, they’ve added an option “enable-auto-restarts” which defaults to “true”, but upon upgrade, we’d like this to be set to false before upgrade-charm and config-changed are run. Would we use a config.yaml like this?

neutron-openvswitch:
    enable-auto-restarts: false