...

Text file src/edge-infra.dev/test/fixtures/crds/gcp/logging.cnrm.cloud.google.com_logginglogviews.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: logginglogviews.logging.cnrm.cloud.google.com
     8spec:
     9  group: logging.cnrm.cloud.google.com
    10  names:
    11    kind: LoggingLogView
    12    listKind: LoggingLogViewList
    13    plural: logginglogviews
    14    singular: logginglogview
    15  scope: Namespaced
    16  versions:
    17  - name: v1beta1
    18    schema:
    19      openAPIV3Schema:
    20        description: LoggingLogView is the Schema for the logging 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              billingAccountRef:
    42                description: Immutable. The BillingAccount that this resource belongs
    43                  to. Only one of [billingAccountRef, folderRef, organizationRef,
    44                  projectRef] may be specified.
    45                properties:
    46                  external:
    47                    description: The external name of the referenced resource
    48                    type: string
    49                  kind:
    50                    description: Kind of the referent.
    51                    type: string
    52                  name:
    53                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    54                    type: string
    55                  namespace:
    56                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    57                    type: string
    58                type: object
    59              bucketRef:
    60                description: Immutable.
    61                properties:
    62                  external:
    63                    description: The external name of the referenced resource
    64                    type: string
    65                  kind:
    66                    description: Kind of the referent.
    67                    type: string
    68                  name:
    69                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    70                    type: string
    71                  namespace:
    72                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    73                    type: string
    74                type: object
    75              description:
    76                description: Describes this view.
    77                type: string
    78              filter:
    79                description: 'Filter that restricts which log entries in a bucket
    80                  are visible in this view. Filters are restricted to be a logical
    81                  AND of ==/!= of any of the following: - originating project/folder/organization/billing
    82                  account. - resource type - log id For example: SOURCE("projects/myproject")
    83                  AND resource.type = "gce_instance" AND LOG_ID("stdout")'
    84                type: string
    85              folderRef:
    86                description: Immutable. The Folder that this resource belongs to.
    87                  Only one of [billingAccountRef, folderRef, organizationRef, projectRef]
    88                  may be specified.
    89                properties:
    90                  external:
    91                    description: The external name of the referenced resource
    92                    type: string
    93                  kind:
    94                    description: Kind of the referent.
    95                    type: string
    96                  name:
    97                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    98                    type: string
    99                  namespace:
   100                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   101                    type: string
   102                type: object
   103              location:
   104                description: 'Immutable. The location of the resource. The supported
   105                  locations are: global, us-central1, us-east1, us-west1, asia-east1,
   106                  europe-west1.'
   107                type: string
   108              organizationRef:
   109                description: Immutable. The Organization that this resource belongs
   110                  to. Only one of [billingAccountRef, folderRef, organizationRef,
   111                  projectRef] may be specified.
   112                properties:
   113                  external:
   114                    description: The external name of the referenced resource
   115                    type: string
   116                  kind:
   117                    description: Kind of the referent.
   118                    type: string
   119                  name:
   120                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   121                    type: string
   122                  namespace:
   123                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   124                    type: string
   125                type: object
   126              projectRef:
   127                description: Immutable. The Project that this resource belongs to.
   128                  Only one of [billingAccountRef, folderRef, organizationRef, projectRef]
   129                  may be specified.
   130                properties:
   131                  external:
   132                    description: The external name of the referenced resource
   133                    type: string
   134                  kind:
   135                    description: Kind of the referent.
   136                    type: string
   137                  name:
   138                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   139                    type: string
   140                  namespace:
   141                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   142                    type: string
   143                type: object
   144              resourceID:
   145                description: Immutable. Optional. The name of the resource. Used for
   146                  creation and acquisition. When unset, the value of `metadata.name`
   147                  is used as the default.
   148                type: string
   149            required:
   150            - bucketRef
   151            type: object
   152          status:
   153            properties:
   154              conditions:
   155                description: |-
   156                  Conditions represent the latest available observations of the
   157                  LoggingLogView's current state.
   158                items:
   159                  properties:
   160                    lastTransitionTime:
   161                      description: Last time the condition transitioned from one status
   162                        to another.
   163                      type: string
   164                    message:
   165                      description: Human-readable message indicating details about
   166                        last transition.
   167                      type: string
   168                    reason:
   169                      description: |-
   170                        Unique, one-word, CamelCase reason for the condition's last
   171                        transition.
   172                      type: string
   173                    status:
   174                      description: Status is the status of the condition. Can be True,
   175                        False, Unknown.
   176                      type: string
   177                    type:
   178                      description: Type is the type of the condition.
   179                      type: string
   180                  type: object
   181                type: array
   182              createTime:
   183                description: Output only. The creation timestamp of the view.
   184                type: string
   185              observedGeneration:
   186                description: ObservedGeneration is the generation of the resource
   187                  that was most recently observed by the Config Connector controller.
   188                  If this is equal to metadata.generation, then that means that the
   189                  current reported status reflects the most recent desired state of
   190                  the resource.
   191                type: integer
   192              updateTime:
   193                description: Output only. The last update timestamp of the view.
   194                type: string
   195            type: object
   196        type: object
   197    served: true
   198    storage: true

View as plain text