...
1apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this
2name: "[Stable] EgressRouter"
3crd: 001-egressrouter.crd.yaml
4tests:
5 onCreate:
6 - name: Should be able to create a minimal EgressRouter
7 initial: |
8 apiVersion: network.operator.openshift.io/v1
9 kind: EgressRouter
10 spec:
11 mode: Redirect
12 redirect: {}
13 addresses: []
14 expected: |
15 apiVersion: network.operator.openshift.io/v1
16 kind: EgressRouter
17 spec:
18 mode: Redirect
19 redirect: {}
20 addresses: []
21 networkInterface:
22 macvlan:
23 mode: Bridge
View as plain text