Skip to content

Warnings for overwritten variables #645

@mlanett

Description

@mlanett

Currently there is a warning when chamber loads variables from multiple services, and the variables overwrite each other.

For our use case this results in MANY warnings, because we organize services in a hierarchy of defaults and production, e.g.
/default/myservice/…
/production/myservice/…

In this case many defaults get overwritten and emit warnings. But the overwriting is intentional.

We are thinking of adding a flag, either "--no-warn-on-overwrite" default false, or "--warn-on-overwrite" default true.

We prefer flags with positive wording, e.g. "--warn-on-overwrite" but chamber does not have any positive wording flags which default true. They all default false. In this case we have no choice: either the flag is positive, default true, or negative wording, default false. (We think the 3rd option of "positive wording, default true, but change to default false in the future" is probably not desirable.)

Do the maintainers have a preference?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions