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