warn/alert on non-default configuration
Bug #1976107 reported by
Garrett Neugent
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juju Lint |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
To ensure that minimal changes are made for a given application (and that default configuration isn't set by the user), it would be great to add a check for this. The following command will show non-default configs for a given application:
juju config $app --format json | jq -c '.settings | to_entries[] | select(
To post a comment you must log in.
@Garrett are you suggesting we alert on any user-set config option or only on options that have a value set which is identical to the default?
I'm thinking that there are probably many instances of charm options that will almost always require a user config; we wouldn't want to perma-alert on those.