github.com/operator-framework/operator-lifecycle-manager@v0.30.0/deploy/upstream/manifests/0.11.0/0000_50_olm_05-subscription.crd.yaml (about)

     1  ##---
     2  # Source: olm/templates/0000_50_olm_05-subscription.crd.yaml
     3  apiVersion: apiextensions.k8s.io/v1beta1
     4  kind: CustomResourceDefinition
     5  metadata:
     6    name: subscriptions.operators.coreos.com
     7    annotations:
     8      displayName: Subscription
     9      description: Subscribes service catalog to a source and channel to recieve updates for packages.
    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: subscriptions
    20      singular: subscription
    21      kind: Subscription
    22      listKind: SubscriptionList
    23      shortNames:
    24      - sub
    25      - subs
    26      categories:
    27      - olm
    28    additionalPrinterColumns:
    29    - name: Package
    30      type: string
    31      description: The package subscribed to
    32      JSONPath: .spec.name
    33    - name: Source
    34      type: string
    35      description: The catalog source for the specified package
    36      JSONPath: .spec.source
    37    - name: Channel
    38      type: string
    39      description: The channel of updates to subscribe to
    40      JSONPath: .spec.channel
    41    subresources:
    42      # status enables the status subresource.
    43      status: {}
    44    validation:
    45      openAPIV3Schema:
    46        description: Subscribes service catalog to a source and channel to recieve updates for packages.
    47        properties:
    48          spec:
    49            type: object
    50            description: Spec for a Subscription
    51            required:
    52            - source
    53            - name
    54            properties:
    55              source:
    56                type: string
    57                description: Name of a CatalogSource that defines where and how to find the channel
    58              sourceNamespace:
    59                type: string
    60                description: The Kubernetes namespace where the CatalogSource used is located
    61              name:
    62                type: string
    63                description: Name of the package that defines the application
    64              channel:
    65                type: string
    66                description: Name of the channel to track
    67              startingCSV:
    68                type: string
    69                description: Name of the AppType that this subscription tracks
    70              installPlanApproval:
    71                type: string
    72                description: Approval mode for emitted InstallPlans
    73                enum:
    74                - Manual
    75                - Automatic