github.com/operator-framework/operator-lifecycle-manager@v0.30.0/deploy/upstream/manifests/0.9.0/0000_50_olm_04-installplan.crd.yaml (about)

     1  ---
     2  # Source: olm/templates/0000_50_olm_04-installplan.crd.yaml
     3  apiVersion: apiextensions.k8s.io/v1beta1
     4  kind: CustomResourceDefinition
     5  metadata:
     6    name: installplans.operators.coreos.com
     7    annotations:
     8      displayName: Install Plan
     9      description: Represents a plan to install and resolve dependencies for Cluster Services
    10  spec:
    11    group: operators.coreos.com
    12    version: v1alpha1
    13    versions:
    14    - name: v1alpha1
    15      served: true
    16      storage: true
    17    scope: Namespaced
    18    names:
    19      plural: installplans
    20      singular: installplan
    21      kind: InstallPlan
    22      listKind: InstallPlanList
    23      shortNames:
    24      - ip
    25      categories:
    26      - olm
    27    additionalPrinterColumns:
    28    - name: CSV
    29      type: string
    30      description: The first CSV in the list of clusterServiceVersionNames
    31      JSONPath: .spec.clusterServiceVersionNames[0]
    32    - name: Source
    33      type: string
    34      description: The catalog source for the specified CSVs.
    35      JSONPath: .spec.source
    36    - name: Approval
    37      type: string
    38      description: The approval mode
    39      JSONPath: .spec.approval
    40    - name: Approved
    41      type: boolean
    42      JSONPath: .spec.approved
    43    subresources:
    44      # status enables the status subresource.
    45      status: {}
    46    validation:
    47      openAPIV3Schema:
    48        properties:
    49          spec:
    50            type: object
    51            description: Spec for an InstallPlan
    52            required:
    53            - clusterServiceVersionNames
    54            - approval
    55            properties:
    56              source:
    57                type: string
    58                description: Name of the preferred CatalogSource
    59              sourceNamespace:
    60                type: string
    61                description: Namespace that contains the preffered CatalogSource
    62              clusterServiceVersionNames:
    63                type: array
    64                description: A list of the names of the Cluster Services
    65                items:
    66                  type: string
    67            anyOf:
    68              - properties:
    69                  approval:
    70                    enum:
    71                      - Manual
    72                  approved:
    73                    type: boolean
    74                required:
    75                  - approved
    76              - properties:
    77                  approval:
    78                    enum:
    79                      - Automatic