...

Text file src/edge-infra.dev/test/fixtures/crds/gcp/serviceusage.cnrm.cloud.google.com_serviceusageconsumerquotaoverrides.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: serviceusageconsumerquotaoverrides.serviceusage.cnrm.cloud.google.com
     8spec:
     9  group: serviceusage.cnrm.cloud.google.com
    10  names:
    11    kind: ServiceUsageConsumerQuotaOverride
    12    listKind: ServiceUsageConsumerQuotaOverrideList
    13    plural: serviceusageconsumerquotaoverrides
    14    singular: serviceusageconsumerquotaoverride
    15  scope: Namespaced
    16  versions:
    17  - name: v1alpha1
    18    schema:
    19      openAPIV3Schema:
    20        description: ServiceUsageConsumerQuotaOverride is the Schema for the serviceusage
    21          API
    22        properties:
    23          apiVersion:
    24            description: |-
    25              APIVersion defines the versioned schema of this representation of an object.
    26              Servers should convert recognized schemas to the latest internal value, and
    27              may reject unrecognized values.
    28              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
    29            type: string
    30          kind:
    31            description: |-
    32              Kind is a string value representing the REST resource this object represents.
    33              Servers may infer this from the endpoint the client submits requests to.
    34              Cannot be updated.
    35              In CamelCase.
    36              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
    37            type: string
    38          metadata:
    39            type: object
    40          spec:
    41            properties:
    42              dimensions:
    43                additionalProperties:
    44                  type: string
    45                description: Immutable. If this map is nonempty, then this override
    46                  applies only to specific values for dimensions defined in the limit
    47                  unit.
    48                type: object
    49              force:
    50                description: |-
    51                  If the new quota would decrease the existing quota by more than 10%, the request is rejected.
    52                  If 'force' is 'true', that safety check is ignored.
    53                type: boolean
    54              limit:
    55                description: |-
    56                  Immutable. The limit on the metric, e.g. '/project/region'.
    57
    58
    59                  ~> Make sure that 'limit' is in a format that doesn't start with '1/' or contain curly braces.
    60                  E.g. use '/project/user' instead of '1/{project}/{user}'.
    61                type: string
    62              metric:
    63                description: Immutable. The metric that should be limited, e.g. 'compute.googleapis.com/cpus'.
    64                type: string
    65              overrideValue:
    66                description: The overriding quota limit value. Can be any nonnegative
    67                  integer, or -1 (unlimited quota).
    68                type: string
    69              projectRef:
    70                description: The project that this resource belongs to.
    71                properties:
    72                  external:
    73                    description: The external name of the referenced resource
    74                    type: string
    75                  kind:
    76                    description: Kind of the referent.
    77                    type: string
    78                  name:
    79                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    80                    type: string
    81                  namespace:
    82                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    83                    type: string
    84                type: object
    85              resourceID:
    86                description: Immutable. Optional. The service-generated name of the
    87                  resource. Used for acquisition only. Leave unset to create a new
    88                  resource.
    89                type: string
    90              service:
    91                description: Immutable. The service that the metrics belong to, e.g.
    92                  'compute.googleapis.com'.
    93                type: string
    94            required:
    95            - limit
    96            - metric
    97            - overrideValue
    98            - projectRef
    99            - service
   100            type: object
   101          status:
   102            properties:
   103              conditions:
   104                description: |-
   105                  Conditions represent the latest available observations of the
   106                  ServiceUsageConsumerQuotaOverride's current state.
   107                items:
   108                  properties:
   109                    lastTransitionTime:
   110                      description: Last time the condition transitioned from one status
   111                        to another.
   112                      type: string
   113                    message:
   114                      description: Human-readable message indicating details about
   115                        last transition.
   116                      type: string
   117                    reason:
   118                      description: |-
   119                        Unique, one-word, CamelCase reason for the condition's last
   120                        transition.
   121                      type: string
   122                    status:
   123                      description: Status is the status of the condition. Can be True,
   124                        False, Unknown.
   125                      type: string
   126                    type:
   127                      description: Type is the type of the condition.
   128                      type: string
   129                  type: object
   130                type: array
   131              name:
   132                description: The server-generated name of the quota override.
   133                type: string
   134              observedGeneration:
   135                description: ObservedGeneration is the generation of the resource
   136                  that was most recently observed by the Config Connector controller.
   137                  If this is equal to metadata.generation, then that means that the
   138                  current reported status reflects the most recent desired state of
   139                  the resource.
   140                type: integer
   141            type: object
   142        type: object
   143    served: true
   144    storage: true

View as plain text