github.com/operator-framework/operator-lifecycle-manager@v0.30.0/deploy/upstream/manifests/0.8.0/0000_30_13-operatorgroup.crd.yaml (about)

     1  ##---
     2  # Source: olm/templates/0000_30_13-operatorgroup.crd.yaml
     3  apiVersion: apiextensions.k8s.io/v1beta1
     4  kind: CustomResourceDefinition
     5  metadata:
     6    name: operatorgroups.operators.coreos.com
     7  spec:
     8    group: operators.coreos.com
     9    version: v1alpha2
    10    versions:
    11    - name: v1alpha2
    12      served: true
    13      storage: true
    14    names:
    15      plural: operatorgroups
    16      singular: operatorgroup
    17      kind: OperatorGroup
    18      listKind: OperatorGroupList
    19      shortNames:
    20        - og
    21      categories:
    22        - olm
    23    scope: Namespaced
    24    subresources:
    25      # status enables the status subresource.
    26      status: {}
    27    validation:
    28      openAPIV3Schema:
    29        properties:
    30          spec:
    31            properties:
    32              selector:
    33                type: object
    34                description: Label selector to find resources associated with or managed by the operator
    35                properties:
    36                  matchLabels:
    37                    type: object
    38                    description: Label key:value pairs to match directly
    39                  matchExpressions:
    40                    type: array
    41                    description: A set of expressions to match against the resource.
    42                    items:
    43                      allOf:
    44                        - type: object
    45                          required:
    46                          - key
    47                          - operator
    48                          - values
    49                          properties:
    50                            key:
    51                              type: string
    52                              description: the key to match
    53                            operator:
    54                              type: string
    55                              description: the operator for the expression
    56                              enum:
    57                              - In
    58                              - NotIn
    59                              - Exists
    60                              - DoesNotExist
    61                            values:
    62                              type: array
    63                              description: set of values for the expression
    64              targetNamespaces:
    65                type: array
    66                items:
    67                  type: string
    68                  pattern: ^\S+$
    69              serviceAccountName:
    70                type: string
    71            type: object
    72          status:
    73            properties:
    74              lastUpdated:
    75                format: date-time
    76                type: string
    77              namespaces:
    78                items:
    79                  type: string
    80                type: array
    81            required:
    82            - namespaces
    83            - lastUpdated
    84            type: object
    85        required:
    86        - metadata