...
1apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this
2name: "[Stable] ClusterNetwork"
3crd: 001-clusternetwork-crd.yaml
4tests:
5 onCreate:
6 - name: Should be able to create a minimal ClusterNetwork
7 initial: |
8 apiVersion: network.openshift.io/v1
9 kind: ClusterNetwork
10 clusterNetworks: []
11 serviceNetwork: 1.2.3.4/32
12 expected: |
13 apiVersion: network.openshift.io/v1
14 kind: ClusterNetwork
15 clusterNetworks: []
16 serviceNetwork: 1.2.3.4/32
View as plain text