...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/crds/logging_v1beta1_logginglogsink.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: logginglogsinks.logging.cnrm.cloud.google.com
    27spec:
    28  group: logging.cnrm.cloud.google.com
    29  names:
    30    categories:
    31    - gcp
    32    kind: LoggingLogSink
    33    plural: logginglogsinks
    34    shortNames:
    35    - gcplogginglogsink
    36    - gcplogginglogsinks
    37    singular: logginglogsink
    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              bigqueryOptions:
    75                description: Options that affect sinks exporting data to BigQuery.
    76                properties:
    77                  usePartitionedTables:
    78                    description: Whether to use BigQuery's partition tables. By default,
    79                      Logging creates dated tables based on the log entries' timestamps,
    80                      e.g. syslog_20170523. With partitioned tables the date suffix
    81                      is no longer present and special query syntax has to be used
    82                      instead. In both cases, tables are sharded based on UTC timezone.
    83                    type: boolean
    84                required:
    85                - usePartitionedTables
    86                type: object
    87              description:
    88                description: A description of this sink. The maximum length of the
    89                  description is 8000 characters.
    90                type: string
    91              destination:
    92                oneOf:
    93                - required:
    94                  - bigQueryDatasetRef
    95                - required:
    96                  - loggingLogBucketRef
    97                - required:
    98                  - pubSubTopicRef
    99                - required:
   100                  - storageBucketRef
   101                properties:
   102                  bigQueryDatasetRef:
   103                    oneOf:
   104                    - not:
   105                        required:
   106                        - external
   107                      required:
   108                      - name
   109                    - not:
   110                        anyOf:
   111                        - required:
   112                          - name
   113                        - required:
   114                          - namespace
   115                      required:
   116                      - external
   117                    properties:
   118                      external:
   119                        description: 'Allowed value: string of the format `bigquery.googleapis.com/projects/{{project}}/datasets/{{value}}`,
   120                          where {{value}} is the `name` field of a `BigQueryDataset`
   121                          resource.'
   122                        type: string
   123                      name:
   124                        description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   125                        type: string
   126                      namespace:
   127                        description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   128                        type: string
   129                    type: object
   130                  loggingLogBucketRef:
   131                    description: Only `external` field is supported to configure the
   132                      reference.
   133                    oneOf:
   134                    - not:
   135                        required:
   136                        - external
   137                      required:
   138                      - name
   139                    - not:
   140                        anyOf:
   141                        - required:
   142                          - name
   143                        - required:
   144                          - namespace
   145                      required:
   146                      - external
   147                    properties:
   148                      external:
   149                        description: 'Allowed value: string of the format `logging.googleapis.com/projects/{{project}}/locations/{{location}}/buckets/{{value}}`,
   150                          where {{value}} is the `name` field of a `LoggingLogBucket`
   151                          resource.'
   152                        type: string
   153                      name:
   154                        description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   155                        type: string
   156                      namespace:
   157                        description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   158                        type: string
   159                    type: object
   160                  pubSubTopicRef:
   161                    oneOf:
   162                    - not:
   163                        required:
   164                        - external
   165                      required:
   166                      - name
   167                    - not:
   168                        anyOf:
   169                        - required:
   170                          - name
   171                        - required:
   172                          - namespace
   173                      required:
   174                      - external
   175                    properties:
   176                      external:
   177                        description: 'Allowed value: string of the format `pubsub.googleapis.com/projects/{{project}}/topics/{{value}}`,
   178                          where {{value}} is the `name` field of a `PubSubTopic` resource.'
   179                        type: string
   180                      name:
   181                        description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   182                        type: string
   183                      namespace:
   184                        description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   185                        type: string
   186                    type: object
   187                  storageBucketRef:
   188                    oneOf:
   189                    - not:
   190                        required:
   191                        - external
   192                      required:
   193                      - name
   194                    - not:
   195                        anyOf:
   196                        - required:
   197                          - name
   198                        - required:
   199                          - namespace
   200                      required:
   201                      - external
   202                    properties:
   203                      external:
   204                        description: 'Allowed value: string of the format `storage.googleapis.com/{{value}}`,
   205                          where {{value}} is the `name` field of a `StorageBucket`
   206                          resource.'
   207                        type: string
   208                      name:
   209                        description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   210                        type: string
   211                      namespace:
   212                        description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   213                        type: string
   214                    type: object
   215                type: object
   216              disabled:
   217                description: If set to True, then this sink is disabled and it does
   218                  not export any log entries.
   219                type: boolean
   220              exclusions:
   221                description: Log entries that match any of the exclusion filters will
   222                  not be exported. If a log entry is matched by both filter and one
   223                  of exclusion's filters, it will not be exported.
   224                items:
   225                  properties:
   226                    description:
   227                      description: A description of this exclusion.
   228                      type: string
   229                    disabled:
   230                      description: If set to True, then this exclusion is disabled
   231                        and it does not exclude any log entries.
   232                      type: boolean
   233                    filter:
   234                      description: An advanced logs filter that matches the log entries
   235                        to be excluded. By using the sample function, you can exclude
   236                        less than 100% of the matching log entries.
   237                      type: string
   238                    name:
   239                      description: A client-assigned identifier, such as "load-balancer-exclusion".
   240                        Identifiers are limited to 100 characters and can include
   241                        only letters, digits, underscores, hyphens, and periods. First
   242                        character has to be alphanumeric.
   243                      type: string
   244                  required:
   245                  - filter
   246                  - name
   247                  type: object
   248                type: array
   249              filter:
   250                description: The filter to apply when exporting logs. Only log entries
   251                  that match the filter are exported.
   252                type: string
   253              folderRef:
   254                description: |-
   255                  The folder in which to create the sink. Only one of projectRef,
   256                  folderRef, or organizationRef may be specified.
   257                oneOf:
   258                - not:
   259                    required:
   260                    - external
   261                  required:
   262                  - name
   263                - not:
   264                    anyOf:
   265                    - required:
   266                      - name
   267                    - required:
   268                      - namespace
   269                  required:
   270                  - external
   271                properties:
   272                  external:
   273                    description: 'Allowed value: The `folderId` field of a `Folder`
   274                      resource.'
   275                    type: string
   276                  name:
   277                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   278                    type: string
   279                  namespace:
   280                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   281                    type: string
   282                type: object
   283              includeChildren:
   284                description: Immutable. Whether or not to include children organizations
   285                  in the sink export. If true, logs associated with child projects
   286                  are also exported; otherwise only logs relating to the provided
   287                  organization are included.
   288                type: boolean
   289              organizationRef:
   290                description: |-
   291                  The organization in which to create the sink. Only one of projectRef,
   292                  folderRef, or organizationRef may be specified.
   293                oneOf:
   294                - not:
   295                    required:
   296                    - external
   297                  required:
   298                  - name
   299                - not:
   300                    anyOf:
   301                    - required:
   302                      - name
   303                    - required:
   304                      - namespace
   305                  required:
   306                  - external
   307                properties:
   308                  external:
   309                    description: 'Allowed value: The `name` field of an `Organization`
   310                      resource.'
   311                    type: string
   312                  name:
   313                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   314                    type: string
   315                  namespace:
   316                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   317                    type: string
   318                type: object
   319              projectRef:
   320                description: |-
   321                  The project in which to create the sink. Only one of projectRef,
   322                  folderRef, or organizationRef may be specified.
   323                oneOf:
   324                - not:
   325                    required:
   326                    - external
   327                  required:
   328                  - name
   329                - not:
   330                    anyOf:
   331                    - required:
   332                      - name
   333                    - required:
   334                      - namespace
   335                  required:
   336                  - external
   337                properties:
   338                  external:
   339                    description: 'Allowed value: The `name` field of a `Project` resource.'
   340                    type: string
   341                  name:
   342                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   343                    type: string
   344                  namespace:
   345                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   346                    type: string
   347                type: object
   348              resourceID:
   349                description: Immutable. Optional. The name of the resource. Used for
   350                  creation and acquisition. When unset, the value of `metadata.name`
   351                  is used as the default.
   352                type: string
   353              uniqueWriterIdentity:
   354                description: Immutable. Whether or not to create a unique identity
   355                  associated with this sink. If false (the default), then the writer_identity
   356                  used is serviceAccount:cloud-logs@system.gserviceaccount.com. If
   357                  true, then a unique service account is created and used for this
   358                  sink. If you wish to publish logs across projects, you must set
   359                  unique_writer_identity to true.
   360                type: boolean
   361            required:
   362            - destination
   363            type: object
   364          status:
   365            properties:
   366              conditions:
   367                description: Conditions represent the latest available observation
   368                  of the resource's current state.
   369                items:
   370                  properties:
   371                    lastTransitionTime:
   372                      description: Last time the condition transitioned from one status
   373                        to another.
   374                      type: string
   375                    message:
   376                      description: Human-readable message indicating details about
   377                        last transition.
   378                      type: string
   379                    reason:
   380                      description: Unique, one-word, CamelCase reason for the condition's
   381                        last transition.
   382                      type: string
   383                    status:
   384                      description: Status is the status of the condition. Can be True,
   385                        False, Unknown.
   386                      type: string
   387                    type:
   388                      description: Type is the type of the condition.
   389                      type: string
   390                  type: object
   391                type: array
   392              observedGeneration:
   393                description: ObservedGeneration is the generation of the resource
   394                  that was most recently observed by the Config Connector controller.
   395                  If this is equal to metadata.generation, then that means that the
   396                  current reported status reflects the most recent desired state of
   397                  the resource.
   398                type: integer
   399              writerIdentity:
   400                description: The identity associated with this sink. This identity
   401                  must be granted write access to the configured destination.
   402                type: string
   403            type: object
   404        required:
   405        - spec
   406        type: object
   407    served: true
   408    storage: true
   409    subresources:
   410      status: {}
   411status:
   412  acceptedNames:
   413    kind: ""
   414    plural: ""
   415  conditions: []
   416  storedVersions: []

View as plain text