apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this name: "[Stable] HostSubnet" crd: 002-hostsubnet-crd.yaml tests: onCreate: - name: Should be able to create a minimal HostSubnet initial: | apiVersion: network.openshift.io/v1 kind: HostSubnet host: foo hostIP: 1.2.3.4 subnet: 1.2.3.0/24 expected: | apiVersion: network.openshift.io/v1 kind: HostSubnet host: foo hostIP: 1.2.3.4 subnet: 1.2.3.0/24