github.com/operator-framework/operator-lifecycle-manager@v0.30.0/deploy/chart/crds/0000_50_olm_00-operators.crd.yaml (about)

     1  apiVersion: apiextensions.k8s.io/v1
     2  kind: CustomResourceDefinition
     3  metadata:
     4    annotations:
     5      controller-gen.kubebuilder.io/version: v0.16.1
     6    name: operators.operators.coreos.com
     7  spec:
     8    group: operators.coreos.com
     9    names:
    10      categories:
    11        - olm
    12      kind: Operator
    13      listKind: OperatorList
    14      plural: operators
    15      singular: operator
    16    scope: Cluster
    17    versions:
    18      - name: v1
    19        schema:
    20          openAPIV3Schema:
    21            description: Operator represents a cluster operator.
    22            type: object
    23            properties:
    24              apiVersion:
    25                description: |-
    26                  APIVersion defines the versioned schema of this representation of an object.
    27                  Servers should convert recognized schemas to the latest internal value, and
    28                  may reject unrecognized values.
    29                  More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
    30                type: string
    31              kind:
    32                description: |-
    33                  Kind is a string value representing the REST resource this object represents.
    34                  Servers may infer this from the endpoint the client submits requests to.
    35                  Cannot be updated.
    36                  In CamelCase.
    37                  More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
    38                type: string
    39              metadata:
    40                type: object
    41              spec:
    42                description: OperatorSpec defines the desired state of Operator
    43                type: object
    44              status:
    45                description: OperatorStatus defines the observed state of an Operator and its components
    46                type: object
    47                properties:
    48                  components:
    49                    description: Components describes resources that compose the operator.
    50                    type: object
    51                    required:
    52                      - labelSelector
    53                    properties:
    54                      labelSelector:
    55                        description: LabelSelector is a label query over a set of resources used to select the operator's components
    56                        type: object
    57                        properties:
    58                          matchExpressions:
    59                            description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
    60                            type: array
    61                            items:
    62                              description: |-
    63                                A label selector requirement is a selector that contains values, a key, and an operator that
    64                                relates the key and values.
    65                              type: object
    66                              required:
    67                                - key
    68                                - operator
    69                              properties:
    70                                key:
    71                                  description: key is the label key that the selector applies to.
    72                                  type: string
    73                                operator:
    74                                  description: |-
    75                                    operator represents a key's relationship to a set of values.
    76                                    Valid operators are In, NotIn, Exists and DoesNotExist.
    77                                  type: string
    78                                values:
    79                                  description: |-
    80                                    values is an array of string values. If the operator is In or NotIn,
    81                                    the values array must be non-empty. If the operator is Exists or DoesNotExist,
    82                                    the values array must be empty. This array is replaced during a strategic
    83                                    merge patch.
    84                                  type: array
    85                                  items:
    86                                    type: string
    87                                  x-kubernetes-list-type: atomic
    88                            x-kubernetes-list-type: atomic
    89                          matchLabels:
    90                            description: |-
    91                              matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
    92                              map is equivalent to an element of matchExpressions, whose key field is "key", the
    93                              operator is "In", and the values array contains only "value". The requirements are ANDed.
    94                            type: object
    95                            additionalProperties:
    96                              type: string
    97                        x-kubernetes-map-type: atomic
    98                      refs:
    99                        description: Refs are a set of references to the operator's component resources, selected with LabelSelector.
   100                        type: array
   101                        items:
   102                          description: RichReference is a reference to a resource, enriched with its status conditions.
   103                          type: object
   104                          properties:
   105                            apiVersion:
   106                              description: API version of the referent.
   107                              type: string
   108                            conditions:
   109                              description: Conditions represents the latest state of the component.
   110                              type: array
   111                              items:
   112                                description: Condition represent the latest available observations of an component's state.
   113                                type: object
   114                                required:
   115                                  - status
   116                                  - type
   117                                properties:
   118                                  lastTransitionTime:
   119                                    description: Last time the condition transitioned from one status to another.
   120                                    type: string
   121                                    format: date-time
   122                                  lastUpdateTime:
   123                                    description: Last time the condition was probed
   124                                    type: string
   125                                    format: date-time
   126                                  message:
   127                                    description: A human readable message indicating details about the transition.
   128                                    type: string
   129                                  reason:
   130                                    description: The reason for the condition's last transition.
   131                                    type: string
   132                                  status:
   133                                    description: Status of the condition, one of True, False, Unknown.
   134                                    type: string
   135                                  type:
   136                                    description: Type of condition.
   137                                    type: string
   138                            fieldPath:
   139                              description: |-
   140                                If referring to a piece of an object instead of an entire object, this string
   141                                should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
   142                                For example, if the object reference is to a container within a pod, this would take on a value like:
   143                                "spec.containers{name}" (where "name" refers to the name of the container that triggered
   144                                the event) or if no container name is specified "spec.containers[2]" (container with
   145                                index 2 in this pod). This syntax is chosen only to have some well-defined way of
   146                                referencing a part of an object.
   147                              type: string
   148                            kind:
   149                              description: |-
   150                                Kind of the referent.
   151                                More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
   152                              type: string
   153                            name:
   154                              description: |-
   155                                Name of the referent.
   156                                More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
   157                              type: string
   158                            namespace:
   159                              description: |-
   160                                Namespace of the referent.
   161                                More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
   162                              type: string
   163                            resourceVersion:
   164                              description: |-
   165                                Specific resourceVersion to which this reference is made, if any.
   166                                More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
   167                              type: string
   168                            uid:
   169                              description: |-
   170                                UID of the referent.
   171                                More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
   172                              type: string
   173                          x-kubernetes-map-type: atomic
   174        served: true
   175        storage: true
   176        subresources:
   177          status: {}