Comment 1 for bug 1975748

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

Fwiw, Juju keeps "source: user" for those values modified by an user so you can query it like:

$ juju config keystone --format json \
    | jq -c '.settings | to_entries[] | select(.value.source=="user").key'

"openstack-origin"
"os-admin-hostname"
"os-internal-hostname"
"os-public-hostname"
"region"
"vip"

$ juju config keystone --format json \
    | jq -c '.settings | to_entries[] | select(.value.source=="user") | [.key, .value.value]'

["openstack-origin","cloud:focal-yoga"]
["os-admin-hostname","admin.my.example.com"]
["os-internal-hostname","internal.my.example.com"]
["os-public-hostname","public.my.example.com"]
["region","myRegion"]
["vip","10.100.0.11"]