...

Text file src/edge-infra.dev/test/fixtures/crds/gcp/logging.cnrm.cloud.google.com_logginglogexclusions.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: logginglogexclusions.logging.cnrm.cloud.google.com
     8spec:
     9  group: logging.cnrm.cloud.google.com
    10  names:
    11    kind: LoggingLogExclusion
    12    listKind: LoggingLogExclusionList
    13    plural: logginglogexclusions
    14    singular: logginglogexclusion
    15  scope: Namespaced
    16  versions:
    17  - name: v1beta1
    18    schema:
    19      openAPIV3Schema:
    20        description: LoggingLogExclusion 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 [projectRef, folderRef, organizationRef, billingAccountRef]
    44                  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              description:
    60                description: Optional. A description of this exclusion.
    61                type: string
    62              disabled:
    63                description: Optional. If set to True, then this exclusion is disabled
    64                  and it does not exclude any log entries. You can update an exclusion
    65                  to change the value of this field.
    66                type: boolean
    67              filter:
    68                description: 'Required. An (https://cloud.google.com/logging/docs/view/advanced-queries#sample),
    69                  you can exclude less than 100% of the matching log entries. For
    70                  example, the following query matches 99% of low-severity log entries
    71                  from Google Cloud Storage buckets: `"resource.type=gcs_bucket severity'
    72                type: string
    73              folderRef:
    74                description: Immutable. The Folder that this resource belongs to.
    75                  Only one of [projectRef, folderRef, organizationRef, billingAccountRef]
    76                  may be specified.
    77                properties:
    78                  external:
    79                    description: The external name of the referenced resource
    80                    type: string
    81                  kind:
    82                    description: Kind of the referent.
    83                    type: string
    84                  name:
    85                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    86                    type: string
    87                  namespace:
    88                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    89                    type: string
    90                type: object
    91              organizationRef:
    92                description: Immutable. The Organization that this resource belongs
    93                  to. Only one of [projectRef, folderRef, organizationRef, billingAccountRef]
    94                  may be specified.
    95                properties:
    96                  external:
    97                    description: The external name of the referenced resource
    98                    type: string
    99                  kind:
   100                    description: Kind of the referent.
   101                    type: string
   102                  name:
   103                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   104                    type: string
   105                  namespace:
   106                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   107                    type: string
   108                type: object
   109              projectRef:
   110                description: Immutable. The Project that this resource belongs to.
   111                  Only one of [projectRef, folderRef, organizationRef, billingAccountRef]
   112                  may be specified.
   113                properties:
   114                  external:
   115                    description: The external name of the referenced resource
   116                    type: string
   117                  kind:
   118                    description: Kind of the referent.
   119                    type: string
   120                  name:
   121                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   122                    type: string
   123                  namespace:
   124                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   125                    type: string
   126                type: object
   127              resourceID:
   128                description: Immutable. Optional. The name of the resource. Used for
   129                  creation and acquisition. When unset, the value of `metadata.name`
   130                  is used as the default.
   131                type: string
   132            required:
   133            - filter
   134            type: object
   135          status:
   136            properties:
   137              conditions:
   138                description: |-
   139                  Conditions represent the latest available observations of the
   140                  LoggingLogExclusion's current state.
   141                items:
   142                  properties:
   143                    lastTransitionTime:
   144                      description: Last time the condition transitioned from one status
   145                        to another.
   146                      type: string
   147                    message:
   148                      description: Human-readable message indicating details about
   149                        last transition.
   150                      type: string
   151                    reason:
   152                      description: |-
   153                        Unique, one-word, CamelCase reason for the condition's last
   154                        transition.
   155                      type: string
   156                    status:
   157                      description: Status is the status of the condition. Can be True,
   158                        False, Unknown.
   159                      type: string
   160                    type:
   161                      description: Type is the type of the condition.
   162                      type: string
   163                  type: object
   164                type: array
   165              createTime:
   166                description: Output only. The creation timestamp of the exclusion.
   167                  This field may not be present for older exclusions.
   168                type: string
   169              observedGeneration:
   170                description: ObservedGeneration is the generation of the resource
   171                  that was most recently observed by the Config Connector controller.
   172                  If this is equal to metadata.generation, then that means that the
   173                  current reported status reflects the most recent desired state of
   174                  the resource.
   175                type: integer
   176              updateTime:
   177                description: Output only. The last update timestamp of the exclusion.
   178                  This field may not be present for older exclusions.
   179                type: string
   180            type: object
   181        type: object
   182    served: true
   183    storage: true

View as plain text