-
Notifications
You must be signed in to change notification settings - Fork 743
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
json schema wrongly required fields #1416
Comments
👍 |
@whynowy This happens because the schema is based on our swagger.json, and all of the fields that were mentioned above are not marked as |
That seems to be the only way. Feel free to assigned to yourself, thanks @daniel-codefresh! |
I can confirm that it stopped to show errors, but absence of apiVersion: argoproj.io/v1alpha1
kind: EventSource
metadata:
name: calendar-eventsource
spec:
eventBusName: some-eventbus
calendar:
interval-time:
blabla: 8760h |
@ilyagorban-codefresh That's because
|
@daniel-codefresh I thought about |
@ilyagorban-codefresh Yes, |
You are right, so we can close the ticket - thank you for your help!!! |
Describe the bug
While validating using the jsonschema with
kubeconform
tool (I tried other json validators as well), I found couple of inconsistencies (not requiredrequired
fields):To Reproduce
Yaml with calendar' schedule requirement:
Yaml with github push id,repo,owner requirement
Steps to reproduce the behavior:
kubeconform
toolkubeconform -schema-location https://raw.githubusercontent.com/argoproj/argo-events/master/api/jsonschema/schema.json -strict -output tap .
Expected behavior
Absence of errors on validation
Environment (please complete the following information):
Additional context
Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.
The text was updated successfully, but these errors were encountered: