apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this name: "[Stable] Network" crd: 0000_10_config-operator_01_network-Default.crd.yaml tests: onCreate: - name: Should be able to create a minimal Network initial: | apiVersion: config.openshift.io/v1 kind: Network spec: {} # No spec is required for a Network expected: | apiVersion: config.openshift.io/v1 kind: Network spec: {} - name: Should be able to set status conditions initial: | apiVersion: config.openshift.io/v1 kind: Network spec: {} # No spec is required for a Network status: conditions: - type: NetworkTypeMigrationInProgress status: "False" reason: "Reason" message: "Message" lastTransitionTime: "2023-10-25T12:00:00Z" expected: | apiVersion: config.openshift.io/v1 kind: Network spec: {} status: conditions: - type: NetworkTypeMigrationInProgress status: "False" reason: "Reason" message: "Message" lastTransitionTime: "2023-10-25T12:00:00Z"