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

Validate config on startup #33

Open
luhring opened this issue Jun 7, 2021 · 0 comments
Open

Validate config on startup #33

luhring opened this issue Jun 7, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@luhring
Copy link
Contributor

luhring commented Jun 7, 2021

To the extent it's possible, the application should validate its received config as it starts up, and exit with a failure if there's a known problem with the config. The idea is to fail fast, and alert the user to a config problem as soon as possible — ideally, long before a Kubernetes object is actually received for validation.

For example, there is a known list of correct ResourceSelectorType values. If an unexpected value is used in the config, the app should error out and explain what the problem was.

@luhring luhring added the enhancement New feature or request label Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant