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

Default configuration values are inconsistently applied #3216

Open
fspmarshall opened this issue Dec 16, 2019 · 0 comments
Open

Default configuration values are inconsistently applied #3216

fspmarshall opened this issue Dec 16, 2019 · 0 comments
Assignees
Labels

Comments

@fspmarshall
Copy link
Contributor

As part of investigating #3213 it was discovered that the default CachePolicy would be different based on whether or not a config file exists (even if said config file is empty).

The config.FileConfig seems to be responsible for setting a number of default configuration values, but the defaults are never propagated if no concrete file exists.

The fix itself is relatively easy (always propagate defaults), but doing so may alter the behavior of existing teleport instances which don't use config files. I have yet to determine what (if any) configuration values other than cache policy are affected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant