...

Text file src/github.com/openshift/api/imageregistry/v1/stable.imagepruner.testsuite.yaml

Documentation: github.com/openshift/api/imageregistry/v1

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

View as plain text