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

[BUG] ConfigMap Validation should be ERROR but is WARN #345

Open
rufreakde opened this issue Jun 14, 2022 · 3 comments
Open

[BUG] ConfigMap Validation should be ERROR but is WARN #345

rufreakde opened this issue Jun 14, 2022 · 3 comments

Comments

@rufreakde
Copy link

rufreakde commented Jun 14, 2022

So when we have a configmap that does not allow number types only string and validate it we get:

WARN - /templates/configmap-general.yaml contains an invalid ConfigMap (default.general) - data: Invalid type. Expected: [string,null], given: integer

Why is this not an error?

@rufreakde rufreakde changed the title Configmap Validation WARN instead of ERROR [BUG] ConfigMap Validation should be ERROR but is WARN Jun 20, 2022
@schifferle
Copy link

i just lost 4 hours because there was no error in the log. Please change this in the next release.

@rufreakde
Copy link
Author

Will this be acknowledged as a bug by repository owners?

Invalid type.

Is not valid check result as only a warning IMHO

@rufreakde
Copy link
Author

Also is this maybe related to?
xeipuuv/gojsonschema#345

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

No branches or pull requests

2 participants