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