1apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this 2name: "[Stable] Route" 3crd: route.crd.yaml 4tests: 5 onCreate: 6 - name: Should be able to create a minimal Route 7 initial: | 8 apiVersion: route.openshift.io/v1 9 kind: Route 10 spec: 11 to: 12 kind: Service 13 name: foo 14 expected: | 15 apiVersion: route.openshift.io/v1 16 kind: Route 17 spec: 18 to: 19 kind: Service 20 name: foo 21 weight: 100 22 wildcardPolicy: None