...
1apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this
2name: "[Stable] PodNetworkConnectivityCheck"
3crd: 0000_10-pod-network-connectivity-check.crd.yaml
4tests:
5 onCreate:
6 - name: Should be able to create a minimal PodNetworkConnectivityCheck
7 initial: |
8 apiVersion: controlplane.operator.openshift.io/v1alpha1
9 kind: PodNetworkConnectivityCheck
10 spec:
11 sourcePod: foo
12 targetEndpoint: foo:0
13 expected: |
14 apiVersion: controlplane.operator.openshift.io/v1alpha1
15 kind: PodNetworkConnectivityCheck
16 spec:
17 sourcePod: foo
18 targetEndpoint: foo:0
View as plain text