...
1apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this
2name: "[Stable] ClusterOperator"
3crd: 0000_00_cluster-version-operator_01_clusteroperator.crd.yaml
4tests:
5 onCreate:
6 - name: Should be able to create a minimal ClusterOperator
7 initial: |
8 apiVersion: config.openshift.io/v1
9 kind: ClusterOperator
10 spec: {} # No spec is required for a ClusterOperator
11 expected: |
12 apiVersion: config.openshift.io/v1
13 kind: ClusterOperator
14 spec: {}
View as plain text