github.com/operator-framework/operator-lifecycle-manager@v0.30.0/deploy/upstream/manifests/0.13.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: Approval
    33      type: string
    34      description: The approval mode
    35      JSONPath: .spec.approval
    36    - name: Approved
    37      type: boolean
    38      JSONPath: .spec.approved
    39    subresources:
    40      # status enables the status subresource.
    41      status: {}
    42    validation:
    43      openAPIV3Schema:
    44        description: Represents a plan to install and resolve dependencies for Cluster Services.
    45        properties:
    46          spec:
    47            type: object
    48            description: Spec for an InstallPlan
    49            required:
    50            - clusterServiceVersionNames
    51            - approval
    52            properties:
    53              source:
    54                type: string
    55                description: Name of the preferred CatalogSource
    56              sourceNamespace:
    57                type: string
    58                description: Namespace that contains the preffered CatalogSource
    59              clusterServiceVersionNames:
    60                type: array
    61                description: A list of the names of the Cluster Services
    62                items:
    63                  type: string
    64            anyOf:
    65              - properties:
    66                  approval:
    67                    enum:
    68                      - Manual
    69                  approved:
    70                    type: boolean
    71                required:
    72                  - approved
    73              - properties:
    74                  approval:
    75                    enum:
    76                      - Automatic