github.com/operator-framework/operator-lifecycle-manager@v0.30.0/deploy/upstream/manifests/0.10.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        description: Represents a plan to install and resolve dependencies for Cluster Services.
    49        properties:
    50          spec:
    51            type: object
    52            description: Spec for an InstallPlan
    53            required:
    54            - clusterServiceVersionNames
    55            - approval
    56            properties:
    57              source:
    58                type: string
    59                description: Name of the preferred CatalogSource
    60              sourceNamespace:
    61                type: string
    62                description: Namespace that contains the preffered CatalogSource
    63              clusterServiceVersionNames:
    64                type: array
    65                description: A list of the names of the Cluster Services
    66                items:
    67                  type: string
    68            anyOf:
    69              - properties:
    70                  approval:
    71                    enum:
    72                      - Manual
    73                  approved:
    74                    type: boolean
    75                required:
    76                  - approved
    77              - properties:
    78                  approval:
    79                    enum:
    80                      - Automatic