...

Text file src/edge-infra.dev/test/fixtures/crds/gcp/logging.cnrm.cloud.google.com_logginglogbuckets.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: logginglogbuckets.logging.cnrm.cloud.google.com
     8spec:
     9  group: logging.cnrm.cloud.google.com
    10  names:
    11    kind: LoggingLogBucket
    12    listKind: LoggingLogBucketList
    13    plural: logginglogbuckets
    14    singular: logginglogbucket
    15  scope: Namespaced
    16  versions:
    17  - name: v1beta1
    18    schema:
    19      openAPIV3Schema:
    20        description: LoggingLogBucket 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              description:
    60                description: Describes this bucket.
    61                type: string
    62              folderRef:
    63                description: Immutable. The Folder that this resource belongs to.
    64                  Only one of [billingAccountRef, folderRef, organizationRef, projectRef]
    65                  may be specified.
    66                properties:
    67                  external:
    68                    description: The external name of the referenced resource
    69                    type: string
    70                  kind:
    71                    description: Kind of the referent.
    72                    type: string
    73                  name:
    74                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    75                    type: string
    76                  namespace:
    77                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    78                    type: string
    79                type: object
    80              location:
    81                description: 'Immutable. The location of the resource. The supported
    82                  locations are: global, us-central1, us-east1, us-west1, asia-east1,
    83                  europe-west1.'
    84                type: string
    85              locked:
    86                description: Whether the bucket has been locked. The retention period
    87                  on a locked bucket may not be changed. Locked buckets may only be
    88                  deleted if they are empty.
    89                type: boolean
    90              organizationRef:
    91                description: Immutable. The Organization that this resource belongs
    92                  to. Only one of [billingAccountRef, folderRef, organizationRef,
    93                  projectRef] may be specified.
    94                properties:
    95                  external:
    96                    description: The external name of the referenced resource
    97                    type: string
    98                  kind:
    99                    description: Kind of the referent.
   100                    type: string
   101                  name:
   102                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   103                    type: string
   104                  namespace:
   105                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   106                    type: string
   107                type: object
   108              projectRef:
   109                description: Immutable. The Project that this resource belongs to.
   110                  Only one of [billingAccountRef, folderRef, organizationRef, projectRef]
   111                  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              resourceID:
   127                description: Immutable. Optional. The name of the resource. Used for
   128                  creation and acquisition. When unset, the value of `metadata.name`
   129                  is used as the default.
   130                type: string
   131              retentionDays:
   132                description: Logs will be retained by default for this amount of time,
   133                  after which they will automatically be deleted. The minimum retention
   134                  period is 1 day. If this value is set to zero at bucket creation
   135                  time, the default time of 30 days will be used.
   136                type: integer
   137            required:
   138            - location
   139            type: object
   140          status:
   141            properties:
   142              conditions:
   143                description: |-
   144                  Conditions represent the latest available observations of the
   145                  LoggingLogBucket's current state.
   146                items:
   147                  properties:
   148                    lastTransitionTime:
   149                      description: Last time the condition transitioned from one status
   150                        to another.
   151                      type: string
   152                    message:
   153                      description: Human-readable message indicating details about
   154                        last transition.
   155                      type: string
   156                    reason:
   157                      description: |-
   158                        Unique, one-word, CamelCase reason for the condition's last
   159                        transition.
   160                      type: string
   161                    status:
   162                      description: Status is the status of the condition. Can be True,
   163                        False, Unknown.
   164                      type: string
   165                    type:
   166                      description: Type is the type of the condition.
   167                      type: string
   168                  type: object
   169                type: array
   170              createTime:
   171                description: Output only. The creation timestamp of the bucket. This
   172                  is not set for any of the default buckets.
   173                type: string
   174              lifecycleState:
   175                description: 'Output only. The bucket lifecycle state. Possible values:
   176                  LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED'
   177                type: string
   178              observedGeneration:
   179                description: ObservedGeneration is the generation of the resource
   180                  that was most recently observed by the Config Connector controller.
   181                  If this is equal to metadata.generation, then that means that the
   182                  current reported status reflects the most recent desired state of
   183                  the resource.
   184                type: integer
   185              updateTime:
   186                description: Output only. The last update timestamp of the bucket.
   187                type: string
   188            type: object
   189        type: object
   190    served: true
   191    storage: true

View as plain text