...

Text file src/edge-infra.dev/test/fixtures/crds/gcp/pubsub.cnrm.cloud.google.com_pubsubschemas.yaml

Documentation: edge-infra.dev/test/fixtures/crds/gcp

     1---
     2apiVersion: apiextensions.k8s.io/v1
     3kind: CustomResourceDefinition
     4metadata:
     5  annotations:
     6    controller-gen.kubebuilder.io/version: (unknown)
     7  name: pubsubschemas.pubsub.cnrm.cloud.google.com
     8spec:
     9  group: pubsub.cnrm.cloud.google.com
    10  names:
    11    kind: PubSubSchema
    12    listKind: PubSubSchemaList
    13    plural: pubsubschemas
    14    singular: pubsubschema
    15  scope: Namespaced
    16  versions:
    17  - name: v1beta1
    18    schema:
    19      openAPIV3Schema:
    20        description: PubSubSchema is the Schema for the pubsub API
    21        properties:
    22          apiVersion:
    23            description: |-
    24              APIVersion defines the versioned schema of this representation of an object.
    25              Servers should convert recognized schemas to the latest internal value, and
    26              may reject unrecognized values.
    27              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
    28            type: string
    29          kind:
    30            description: |-
    31              Kind is a string value representing the REST resource this object represents.
    32              Servers may infer this from the endpoint the client submits requests to.
    33              Cannot be updated.
    34              In CamelCase.
    35              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
    36            type: string
    37          metadata:
    38            type: object
    39          spec:
    40            properties:
    41              definition:
    42                description: |-
    43                  Immutable. The definition of the schema.
    44                  This should contain a string representing the full definition of the schema
    45                  that is a valid schema definition of the type specified in type.
    46                type: string
    47              projectRef:
    48                description: The project that this resource belongs to.
    49                properties:
    50                  external:
    51                    description: The external name of the referenced resource
    52                    type: string
    53                  kind:
    54                    description: Kind of the referent.
    55                    type: string
    56                  name:
    57                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    58                    type: string
    59                  namespace:
    60                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    61                    type: string
    62                type: object
    63              resourceID:
    64                description: Immutable. Optional. The name of the resource. Used for
    65                  creation and acquisition. When unset, the value of `metadata.name`
    66                  is used as the default.
    67                type: string
    68              type:
    69                description: 'Immutable. The type of the schema definition Default
    70                  value: "TYPE_UNSPECIFIED" Possible values: ["TYPE_UNSPECIFIED",
    71                  "PROTOCOL_BUFFER", "AVRO"].'
    72                type: string
    73            required:
    74            - projectRef
    75            type: object
    76          status:
    77            properties:
    78              conditions:
    79                description: |-
    80                  Conditions represent the latest available observations of the
    81                  PubSubSchema's current state.
    82                items:
    83                  properties:
    84                    lastTransitionTime:
    85                      description: Last time the condition transitioned from one status
    86                        to another.
    87                      type: string
    88                    message:
    89                      description: Human-readable message indicating details about
    90                        last transition.
    91                      type: string
    92                    reason:
    93                      description: |-
    94                        Unique, one-word, CamelCase reason for the condition's last
    95                        transition.
    96                      type: string
    97                    status:
    98                      description: Status is the status of the condition. Can be True,
    99                        False, Unknown.
   100                      type: string
   101                    type:
   102                      description: Type is the type of the condition.
   103                      type: string
   104                  type: object
   105                type: array
   106              observedGeneration:
   107                description: ObservedGeneration is the generation of the resource
   108                  that was most recently observed by the Config Connector controller.
   109                  If this is equal to metadata.generation, then that means that the
   110                  current reported status reflects the most recent desired state of
   111                  the resource.
   112                type: integer
   113            type: object
   114        type: object
   115    served: true
   116    storage: true

View as plain text