-
Notifications
You must be signed in to change notification settings - Fork 772
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
adding timestamp in k8s artifacts #717
Comments
I don't think it should be set, and null should be valid for It looks like bug in If you look at the reference documentatoin it says |
@kadel , gotcha, thanks for clarifying |
@surajnarwade do you mind reporting it in |
Hey, author of According to the Kubernetes spec (https://github.com/garethr/kubernetes-json-schema/blob/master/master-standalone/deployment.json#L3511-L3514) the error is correct. Unfortunately Kubernetes doesn't exactly use this spec internally, so I've opened instrumenta/kubeval#16 to track. @surajnarwade note that kubeval will shortly be available as a Go library as well, so it might be interesting to build the validation in as an optional step into Kompose? |
@garethr that will be awesome |
Usage as a go library is now in master with a little documentation. https://github.com/garethr/kubeval#library I'd love any feedback on that interface, or other things folks would like to see. |
@surajnarwade just to let you know I've updated the schemas and the service definition should now work as expected. All the details in instrumenta/kubeval#16 for anyone following along. |
@garethr awesome, It's working as expected, Thanks :) |
I was validating results from kompose using kubeval, I got following output:
Should we add timestamp in spec ?
any thoughts, @kadel @surajssd @cdrage
The text was updated successfully, but these errors were encountered: