cds: allow v1 config to define api_type in the json-schema (#2094)
cds: allow v1 config to define api_type in the json-schema (#2094)

cds: allow v1 config to define api_type in the json-schema

Description: #1583 enabled v1 bootstrap configs to define the api type of the management server. This PR adds that constraint to the CDS definition schema.

Risk Level: Low

Testing: existing utility tests test the translation; existing tests test that a v2 grpc cds server can be used.

Signed-off-by: Jose Nino <ca94e32c82b10963d0ce6eadf427a615ff7d1c0b@lyft.com>
istio/envoy,lizan/envoy,envoyproxy/envoy,eklitzke/envoy,jrajahalme/envoy,eklitzke/envoy,envoyproxy/envoy-wasm,amalgam8/envoy,dnoe/envoy,envoyproxy/envoy-wasm,craffert0/envoy,envoyproxy/envoy,envoyproxy/envoy,amalgam8/envoy,craffert0/envoy,envoyproxy/envoy-wasm,eklitzke/envoy,lyft/envoy,lizan/envoy,envoyproxy/envoy-wasm,envoyproxy/envoy,lyft/envoy,eklitzke/envoy,istio/envoy,lizan/envoy,eklitzke/envoy,lizan/envoy,envoyproxy/envoy,lizan/envoy,craffert0/envoy,envoyproxy/envoy,lizan/envoy,jrajahalme/envoy,istio/envoy,dnoe/envoy,lyft/envoy,eklitzke/envoy,lyft/envoy,dnoe/envoy,envoyproxy/envoy-wasm,lyft/envoy,sebrandon1/envoy,craffert0/envoy,sebrandon1/envoy,envoyproxy/envoy,envoyproxy/envoy,jrajahalme/envoy,envoyproxy/envoy,istio/envoy,dnoe/envoy,envoyproxy/envoy,envoyproxy/envoy,istio/envoy,jrajahalme/envoy,jrajahalme/envoy,envoyproxy/envoy-wasm,sebrandon1/envoy,amalgam8/envoy,lyft/envoy,dnoe/envoy,istio/envoy,sebrandon1/envoy,jrajahalme/envoy,istio/envoy,envoyproxy/envoy,envoyproxy/envoy-wasm,amalgam8/envoy,sebrandon1/envoy