-
Notifications
You must be signed in to change notification settings - Fork 72
[schema] change in JSON schema structure for validation purpose #229
Comments
After change the schema would look exactly like this. Please let me know, if its possible to accommodate this change? |
Is there any impact on kubernetes-client with this change? |
@rawlingsj I have verified kubernetes-client, f8-m-p and both are getting build with this change. |
lets try it and see what breaks? if things go bad we could always create a modified version of the schema just for fmp to do verification - but hopefully things won't come to that |
finger crossed |
Is resources valid for a JSON schema document type? Is this going to break any other tooling that relies on a valid JSON schema document? |
hey @jimmidyson that's good point. Its valid to have additional property like |
hi @jimmidyson any thought about it? |
@jimmidyson better way lets create separate json-scehma file for validation purpose only. So existing file could stay intact. |
sounds good to me |
Is it possible to update the JSON schema structure without having any side effects.
To use
kube-schema.json
in F8-M-P for validation purpose (fabric8io/fabric8-maven-plugin#66), it requires following changes.Here
resources
key will hold the properties respective resource likedeployment
for Kubernetes anddeploymentconfig
for OpenShift.fabric8io/fabric8-maven-plugin#1051 (comment)
The text was updated successfully, but these errors were encountered: