github.com/operator-framework/operator-lifecycle-manager@v0.30.0/test/e2e/testdata/deprecated-crd/deprecated.crd.yaml (about)

     1  apiVersion: apiextensions.k8s.io/v1
     2  kind: CustomResourceDefinition
     3  metadata:
     4    annotations:
     5      e2e.testName: Install Plan when an InstallPlan step contains a deprecated resource
     6        version increments a metric counting the warning
     7    name: deprecateds.operators.io.operator-framework
     8  spec:
     9    conversion:
    10      strategy: None
    11    group: operators.io.operator-framework
    12    names:
    13      kind: Deprecated
    14      listKind: DeprecatedList
    15      plural: deprecateds
    16      singular: deprecated
    17    scope: Namespaced
    18    versions:
    19    - deprecated: true
    20      name: v1
    21      schema:
    22        openAPIV3Schema:
    23          properties:
    24            spec:
    25              description: Spec of a test object.
    26              properties:
    27                foo:
    28                  type: string
    29              type: object
    30            status:
    31              description: Spec of a test object.
    32              type: object
    33          type: object
    34      served: true
    35      storage: true