Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #600 from surajnarwade/update-schema
Browse files Browse the repository at this point in the history
Updated JSONschema in /pkg/validation
  • Loading branch information
concaf authored Feb 22, 2018
2 parents d0938c4 + a662f2e commit dbcc6fe
Showing 1 changed file with 19 additions and 12 deletions.
31 changes: 19 additions & 12 deletions pkg/validation/kedgeschema.go
Original file line number Diff line number Diff line change
Expand Up @@ -1393,13 +1393,6 @@ var SchemaJson = `
],
"description": "ServicePortMod is used to define Kubernetes service's port",
"properties": {
"endpoint": {
"type": [
"string",
"null"
],
"description": "Host to create ingress automatically. Endpoint allows specifying an ingress resource in the format '<Host>/<Path>'"
},
"protocol": {
"type": [
"string",
Expand All @@ -1414,11 +1407,6 @@ var SchemaJson = `
],
"description": "The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. This maps to the 'Name' field in EndpointPort objects. Optional if only one ServicePort is defined on this service."
},
"nodePort": {
"type": "integer",
"description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport",
"format": "int32"
},
"targetPort": {
"oneOf": [
{
Expand All @@ -1432,6 +1420,25 @@ var SchemaJson = `
}
]
},
"routeEndpoint": {
"type": [
"string",
"null"
],
"description": "Host to create routes automatically. RouteEndpoint allows specifying an route resource in the format URL or simply boolean."
},
"nodePort": {
"type": "integer",
"description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport",
"format": "int32"
},
"ingressEndpoint": {
"type": [
"string",
"null"
],
"description": "Host to create ingress automatically. IngressEndpoint allows specifying an ingress resource in the format '<Host>/<Path>'"
},
"port": {
"type": "integer",
"description": "The port that will be exposed by this service.",
Expand Down

0 comments on commit dbcc6fe

Please sign in to comment.