...
1apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this
2name: "[Stable] HostSubnet"
3crd: 002-hostsubnet-crd.yaml
4tests:
5 onCreate:
6 - name: Should be able to create a minimal HostSubnet
7 initial: |
8 apiVersion: network.openshift.io/v1
9 kind: HostSubnet
10 host: foo
11 hostIP: 1.2.3.4
12 subnet: 1.2.3.0/24
13 expected: |
14 apiVersion: network.openshift.io/v1
15 kind: HostSubnet
16 host: foo
17 hostIP: 1.2.3.4
18 subnet: 1.2.3.0/24
View as plain text