...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/crds/logging_v1beta1_logginglogbucket.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/dcl2crd: "true"
    23    cnrm.cloud.google.com/managed-by-kcc: "true"
    24    cnrm.cloud.google.com/stability-level: stable
    25    cnrm.cloud.google.com/system: "true"
    26  name: logginglogbuckets.logging.cnrm.cloud.google.com
    27spec:
    28  group: logging.cnrm.cloud.google.com
    29  names:
    30    categories:
    31    - gcp
    32    kind: LoggingLogBucket
    33    plural: logginglogbuckets
    34    shortNames:
    35    - gcplogginglogbucket
    36    - gcplogginglogbuckets
    37    singular: logginglogbucket
    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            oneOf:
    74            - required:
    75              - billingAccountRef
    76            - required:
    77              - folderRef
    78            - required:
    79              - organizationRef
    80            - required:
    81              - projectRef
    82            properties:
    83              billingAccountRef:
    84                description: Immutable. The BillingAccount that this resource belongs
    85                  to. Only one of [billingAccountRef, folderRef, organizationRef,
    86                  projectRef] may be specified.
    87                oneOf:
    88                - not:
    89                    required:
    90                    - external
    91                  required:
    92                  - name
    93                - not:
    94                    anyOf:
    95                    - required:
    96                      - name
    97                    - required:
    98                      - namespace
    99                  required:
   100                  - external
   101                properties:
   102                  external:
   103                    description: 'Allowed value: The Google Cloud resource name of
   104                      a Google Cloud Billing Account (format: `billingAccounts/{{name}}`).'
   105                    type: string
   106                  name:
   107                    description: |-
   108                      [WARNING] BillingAccount not yet supported in Config Connector, use 'external' field to reference existing resources.
   109                      Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
   110                    type: string
   111                  namespace:
   112                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   113                    type: string
   114                type: object
   115              description:
   116                description: Describes this bucket.
   117                type: string
   118              folderRef:
   119                description: Immutable. The Folder that this resource belongs to.
   120                  Only one of [billingAccountRef, folderRef, organizationRef, projectRef]
   121                  may be specified.
   122                oneOf:
   123                - not:
   124                    required:
   125                    - external
   126                  required:
   127                  - name
   128                - not:
   129                    anyOf:
   130                    - required:
   131                      - name
   132                    - required:
   133                      - namespace
   134                  required:
   135                  - external
   136                properties:
   137                  external:
   138                    description: 'Allowed value: The Google Cloud resource name of
   139                      a `Folder` resource (format: `folders/{{name}}`).'
   140                    type: string
   141                  name:
   142                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   143                    type: string
   144                  namespace:
   145                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   146                    type: string
   147                type: object
   148              location:
   149                description: 'Immutable. The location of the resource. The supported
   150                  locations are: global, us-central1, us-east1, us-west1, asia-east1,
   151                  europe-west1.'
   152                type: string
   153              locked:
   154                description: Whether the bucket has been locked. The retention period
   155                  on a locked bucket may not be changed. Locked buckets may only be
   156                  deleted if they are empty.
   157                type: boolean
   158              organizationRef:
   159                description: Immutable. The Organization that this resource belongs
   160                  to. Only one of [billingAccountRef, folderRef, organizationRef,
   161                  projectRef] may be specified.
   162                oneOf:
   163                - not:
   164                    required:
   165                    - external
   166                  required:
   167                  - name
   168                - not:
   169                    anyOf:
   170                    - required:
   171                      - name
   172                    - required:
   173                      - namespace
   174                  required:
   175                  - external
   176                properties:
   177                  external:
   178                    description: 'Allowed value: The Google Cloud resource name of
   179                      a Google Cloud Organization (format: `organizations/{{name}}`).'
   180                    type: string
   181                  name:
   182                    description: |-
   183                      [WARNING] Organization not yet supported in Config Connector, use 'external' field to reference existing resources.
   184                      Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
   185                    type: string
   186                  namespace:
   187                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   188                    type: string
   189                type: object
   190              projectRef:
   191                description: Immutable. The Project that this resource belongs to.
   192                  Only one of [billingAccountRef, folderRef, organizationRef, projectRef]
   193                  may be specified.
   194                oneOf:
   195                - not:
   196                    required:
   197                    - external
   198                  required:
   199                  - name
   200                - not:
   201                    anyOf:
   202                    - required:
   203                      - name
   204                    - required:
   205                      - namespace
   206                  required:
   207                  - external
   208                properties:
   209                  external:
   210                    description: 'Allowed value: The Google Cloud resource name of
   211                      a `Project` resource (format: `projects/{{name}}`).'
   212                    type: string
   213                  name:
   214                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   215                    type: string
   216                  namespace:
   217                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   218                    type: string
   219                type: object
   220              resourceID:
   221                description: Immutable. Optional. The name of the resource. Used for
   222                  creation and acquisition. When unset, the value of `metadata.name`
   223                  is used as the default.
   224                type: string
   225              retentionDays:
   226                description: Logs will be retained by default for this amount of time,
   227                  after which they will automatically be deleted. The minimum retention
   228                  period is 1 day. If this value is set to zero at bucket creation
   229                  time, the default time of 30 days will be used.
   230                format: int64
   231                type: integer
   232            required:
   233            - location
   234            type: object
   235          status:
   236            properties:
   237              conditions:
   238                description: Conditions represent the latest available observation
   239                  of the resource's current state.
   240                items:
   241                  properties:
   242                    lastTransitionTime:
   243                      description: Last time the condition transitioned from one status
   244                        to another.
   245                      type: string
   246                    message:
   247                      description: Human-readable message indicating details about
   248                        last transition.
   249                      type: string
   250                    reason:
   251                      description: Unique, one-word, CamelCase reason for the condition's
   252                        last transition.
   253                      type: string
   254                    status:
   255                      description: Status is the status of the condition. Can be True,
   256                        False, Unknown.
   257                      type: string
   258                    type:
   259                      description: Type is the type of the condition.
   260                      type: string
   261                  type: object
   262                type: array
   263              createTime:
   264                description: Output only. The creation timestamp of the bucket. This
   265                  is not set for any of the default buckets.
   266                format: date-time
   267                type: string
   268              lifecycleState:
   269                description: 'Output only. The bucket lifecycle state. Possible values:
   270                  LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED'
   271                type: string
   272              observedGeneration:
   273                description: ObservedGeneration is the generation of the resource
   274                  that was most recently observed by the Config Connector controller.
   275                  If this is equal to metadata.generation, then that means that the
   276                  current reported status reflects the most recent desired state of
   277                  the resource.
   278                type: integer
   279              updateTime:
   280                description: Output only. The last update timestamp of the bucket.
   281                format: date-time
   282                type: string
   283            type: object
   284        required:
   285        - spec
   286        type: object
   287    served: true
   288    storage: true
   289    subresources:
   290      status: {}
   291status:
   292  acceptedNames:
   293    kind: ""
   294    plural: ""
   295  conditions: []
   296  storedVersions: []

View as plain text