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