apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this name: "[Stable] EgressRouter" crd: 001-egressrouter.crd.yaml tests: onCreate: - name: Should be able to create a minimal EgressRouter initial: | apiVersion: network.operator.openshift.io/v1 kind: EgressRouter spec: mode: Redirect redirect: {} addresses: [] expected: | apiVersion: network.operator.openshift.io/v1 kind: EgressRouter spec: mode: Redirect redirect: {} addresses: [] networkInterface: macvlan: mode: Bridge