Force Draft version of JsonSchema (#221)

* Force Draft version of JsonSchema
* Add test validating using CRD that misses explicit draft version
This commit is contained in:
Yann Hamon 2023-07-16 09:42:11 +02:00 committed by GitHub
parent 278385f4c9
commit ae67bb4709
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 1 deletions

13
fixtures/httpproxy.yaml Normal file
View file

@ -0,0 +1,13 @@
apiVersion: projectcontour.io/v1
kind: HTTPProxy
metadata:
name: basic
spec:
virtualhost:
fqdn: foo-basic.example.com
routes:
- conditions:
- prefix: /
services:
- name: s1
port: 80