Open jcmcken opened 3 years ago
If I run the tool against Istio OpenAPI schemas, it generates a schema successfully, but the schema contains invalid references. E.g. I run it like this:
openapi2jsonschema --kubernetes --strict --expanded local/path/to/schema.json
It generates schema with references like this:
{ ...snip... "$ref": "istio.networking.v1beta1.TLSRoute.json" ...snip... }
And yet, the tool does not actually generate this file istio.networking.v1beta1.TLSRoute.json. So loading of the schema using kubeval fails outright.
istio.networking.v1beta1.TLSRoute.json
kubeval
If I run the tool against Istio OpenAPI schemas, it generates a schema successfully, but the schema contains invalid references. E.g. I run it like this:
It generates schema with references like this:
And yet, the tool does not actually generate this file
istio.networking.v1beta1.TLSRoute.json
. So loading of the schema usingkubeval
fails outright.