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

Schema validation seems broken for ArgoWorkflows #1009

Open
1 of 4 tasks
jaseemabid opened this issue Jan 22, 2025 · 0 comments
Open
1 of 4 tasks

Schema validation seems broken for ArgoWorkflows #1009

jaseemabid opened this issue Jan 22, 2025 · 0 comments

Comments

@jaseemabid
Copy link

Describe the bug

I'm seeing false positive warnings for argo workflows and I suspect it's a plugin bug. Converted to json, this example validates error free on https://www.jsonschemavalidator.net.

Here is a reproducible example and screenshot:

Image

Expected Behaviour

This schema should be allowed and have no warnings.

Current Behavior

I see this warning 3 times for each top level key.

Property apiVersion is not allowed.yaml-schema: file:///Users/j/src/argo-workflows-schema.json
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: [https://git.io.k8s.community/contributors/devel/sig-architecture/api-conventions.md#resources](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-sandbox/workbench/workbench.html)

Source: [argo-workflows-schema.json](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-sandbox/workbench/workbench.html)

Environment

  • Windows
  • Mac
  • Linux
  • other (please specify)
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

1 participant