Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct README description of config file keys #489

Merged
merged 1 commit into from
Jan 19, 2022

Conversation

maxvt-tonal
Copy link
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