Skip to content

Correct README description of config file keys#489

Merged
jdolitsky merged 1 commit into
helm:mainfrom
maxvt-tonal:correct-readme-for-config-file-use
Jan 19, 2022
Merged

Correct README description of config file keys#489
jdolitsky merged 1 commit into
helm:mainfrom
maxvt-tonal:correct-readme-for-config-file-use

Conversation

@maxvt-tonal

Copy link
Copy Markdown
Contributor

The README says the conversion between flag name / env var name
and the key used for file-based configuration is simple replacement
of _ with . -- this is not true in many, if not most, cases
(not just the STORAGE flag).

This is demonstrated even in the example that immediately follows
the text: authrealm, not auth.realm for AUTH_REALM, bearerauth for
BEARER_AUTH, and so on.

Further confounding the user, there is no indication (even with debug
on) that the config file contains keys that don't map to any flags.

The README says the conversion between flag name / env var name
and the key used for file-based configuration is simple replacement
of _ with . -- this is not true in many, if not most, cases
(not just the STORAGE flag).

This is demonstrated even in the example that immediately follows
the text: authrealm, not auth.realm for AUTH_REALM, bearerauth for
BEARER_AUTH, and so on.

Further confounding the user, there is no indication (even with debug
on) that the config file contains keys that don't map to any flags.

Signed-off-by: Max Timchenko <[email protected]>
@maxvt-tonal
maxvt-tonal force-pushed the correct-readme-for-config-file-use branch from 1dfbf98 to 2170597 Compare September 17, 2021 20:25
@jdolitsky
jdolitsky merged commit a203781 into helm:main Jan 19, 2022
@maxvt-tonal
maxvt-tonal deleted the correct-readme-for-config-file-use branch January 19, 2022 19:47
@jdolitsky jdolitsky added this to the v0.14.0 milestone Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants