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