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

     1  ##---
     2  # Source: olm/templates/06-installplan.crd.yaml
     3  apiVersion: apiextensions.k8s.io/v1beta1
     4  kind: CustomResourceDefinition
     5  metadata:
     6    name: installplan-v1s.app.coreos.com
     7    annotations:
     8      displayName: Install Plan
     9      description: Represents a plan to install and resolve dependencies for Cluster Services
    10    labels:
    11      tectonic-operators.coreos.com/managed-by: tectonic-x-operator
    12  spec:
    13    group: app.coreos.com
    14    version: v1alpha1
    15    scope: Namespaced
    16    names:
    17      plural: installplan-v1s
    18      singular: installplan-v1
    19      kind: InstallPlan-v1
    20      listKind: InstallPlanList-v1
    21    validation:
    22      openAPIV3Schema:
    23        type: object
    24        description: Document which defines the desire and current state of an installation of a Cluster Service
    25        required:
    26        - spec
    27        properties:
    28          spec:
    29            type: object
    30            description: Spec for an InstallPlan
    31            required:
    32            - clusterServiceVersionNames
    33            - approval
    34            properties:
    35              clusterServiceVersionNames:
    36                type: array
    37                description: A list of the names of the Cluster Services
    38                items:
    39                  type: string
    40              approval:
    41                type: string
    42                enum:
    43                - Automatic
    44                - Manual
    45                - Update-Only # Will only apply an update if it updates existing packages only and doesn't add any new ones
    46              approved:
    47                type: boolean
    48        anyOf:
    49          - properties:
    50            approval: 
    51              enum: 
    52                - Manual
    53            required:
    54              - approved
    55          - properties:
    56            approval:
    57              enum:
    58                - Automatic
    59                - Update-Only
    60            required: []