...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/crds/pubsublite_v1beta1_pubsublitereservation.yaml

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/crds

     1# Copyright 2020 Google LLC
     2#
     3# Licensed under the Apache License, Version 2.0 (the "License");
     4# you may not use this file except in compliance with the License.
     5# You may obtain a copy of the License at
     6#
     7#     http://www.apache.org/licenses/LICENSE-2.0
     8#
     9# Unless required by applicable law or agreed to in writing, software
    10# distributed under the License is distributed on an "AS IS" BASIS,
    11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12# See the License for the specific language governing permissions and
    13# limitations under the License.
    14
    15apiVersion: apiextensions.k8s.io/v1
    16kind: CustomResourceDefinition
    17metadata:
    18  annotations:
    19    cnrm.cloud.google.com/version: 1.106.0
    20  creationTimestamp: null
    21  labels:
    22    cnrm.cloud.google.com/managed-by-kcc: "true"
    23    cnrm.cloud.google.com/stability-level: stable
    24    cnrm.cloud.google.com/system: "true"
    25    cnrm.cloud.google.com/tf2crd: "true"
    26  name: pubsublitereservations.pubsublite.cnrm.cloud.google.com
    27spec:
    28  group: pubsublite.cnrm.cloud.google.com
    29  names:
    30    categories:
    31    - gcp
    32    kind: PubSubLiteReservation
    33    plural: pubsublitereservations
    34    shortNames:
    35    - gcppubsublitereservation
    36    - gcppubsublitereservations
    37    singular: pubsublitereservation
    38  scope: Namespaced
    39  versions:
    40  - additionalPrinterColumns:
    41    - jsonPath: .metadata.creationTimestamp
    42      name: Age
    43      type: date
    44    - description: When 'True', the most recent reconcile of the resource succeeded
    45      jsonPath: .status.conditions[?(@.type=='Ready')].status
    46      name: Ready
    47      type: string
    48    - description: The reason for the value in 'Ready'
    49      jsonPath: .status.conditions[?(@.type=='Ready')].reason
    50      name: Status
    51      type: string
    52    - description: The last transition time for the value in 'Status'
    53      jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
    54      name: Status Age
    55      type: date
    56    name: v1beta1
    57    schema:
    58      openAPIV3Schema:
    59        properties:
    60          apiVersion:
    61            description: 'apiVersion defines the versioned schema of this representation
    62              of an object. Servers should convert recognized schemas to the latest
    63              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
    64            type: string
    65          kind:
    66            description: 'kind is a string value representing the REST resource this
    67              object represents. Servers may infer this from the endpoint the client
    68              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
    69            type: string
    70          metadata:
    71            type: object
    72          spec:
    73            properties:
    74              projectRef:
    75                description: The project that this resource belongs to.
    76                oneOf:
    77                - not:
    78                    required:
    79                    - external
    80                  required:
    81                  - name
    82                - not:
    83                    anyOf:
    84                    - required:
    85                      - name
    86                    - required:
    87                      - namespace
    88                  required:
    89                  - external
    90                properties:
    91                  external:
    92                    description: 'Allowed value: The `name` field of a `Project` resource.'
    93                    type: string
    94                  name:
    95                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    96                    type: string
    97                  namespace:
    98                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    99                    type: string
   100                type: object
   101              region:
   102                description: The region of the pubsub lite reservation.
   103                type: string
   104              resourceID:
   105                description: Immutable. Optional. The name of the resource. Used for
   106                  creation and acquisition. When unset, the value of `metadata.name`
   107                  is used as the default.
   108                type: string
   109              throughputCapacity:
   110                description: |-
   111                  The reserved throughput capacity. Every unit of throughput capacity is
   112                  equivalent to 1 MiB/s of published messages or 2 MiB/s of subscribed
   113                  messages.
   114                type: integer
   115            required:
   116            - projectRef
   117            - region
   118            - throughputCapacity
   119            type: object
   120          status:
   121            properties:
   122              conditions:
   123                description: Conditions represent the latest available observation
   124                  of the resource's current state.
   125                items:
   126                  properties:
   127                    lastTransitionTime:
   128                      description: Last time the condition transitioned from one status
   129                        to another.
   130                      type: string
   131                    message:
   132                      description: Human-readable message indicating details about
   133                        last transition.
   134                      type: string
   135                    reason:
   136                      description: Unique, one-word, CamelCase reason for the condition's
   137                        last transition.
   138                      type: string
   139                    status:
   140                      description: Status is the status of the condition. Can be True,
   141                        False, Unknown.
   142                      type: string
   143                    type:
   144                      description: Type is the type of the condition.
   145                      type: string
   146                  type: object
   147                type: array
   148              observedGeneration:
   149                description: ObservedGeneration is the generation of the resource
   150                  that was most recently observed by the Config Connector controller.
   151                  If this is equal to metadata.generation, then that means that the
   152                  current reported status reflects the most recent desired state of
   153                  the resource.
   154                type: integer
   155            type: object
   156        required:
   157        - spec
   158        type: object
   159    served: true
   160    storage: true
   161    subresources:
   162      status: {}
   163status:
   164  acceptedNames:
   165    kind: ""
   166    plural: ""
   167  conditions: []
   168  storedVersions: []

View as plain text