apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this name: "[Stable] KubeAPIServer" crd: 0000_20_kube-apiserver-operator_01_config.crd.yaml tests: onCreate: - name: Should be able to create a minimal KubeAPIServer initial: | apiVersion: operator.openshift.io/v1 kind: KubeAPIServer spec: {} # No spec is required for a KubeAPIServer expected: | apiVersion: operator.openshift.io/v1 kind: KubeAPIServer spec: logLevel: Normal operatorLogLevel: Normal