...
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: alpha
24 cnrm.cloud.google.com/system: "true"
25 cnrm.cloud.google.com/tf2crd: "true"
26 name: serviceusageconsumerquotaoverrides.serviceusage.cnrm.cloud.google.com
27spec:
28 group: serviceusage.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: ServiceUsageConsumerQuotaOverride
33 plural: serviceusageconsumerquotaoverrides
34 shortNames:
35 - gcpserviceusageconsumerquotaoverride
36 - gcpserviceusageconsumerquotaoverrides
37 singular: serviceusageconsumerquotaoverride
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: v1alpha1
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 dimensions:
75 additionalProperties:
76 type: string
77 description: Immutable. If this map is nonempty, then this override
78 applies only to specific values for dimensions defined in the limit
79 unit.
80 type: object
81 force:
82 description: |-
83 If the new quota would decrease the existing quota by more than 10%, the request is rejected.
84 If 'force' is 'true', that safety check is ignored.
85 type: boolean
86 limit:
87 description: |-
88 Immutable. The limit on the metric, e.g. '/project/region'.
89
90 ~> Make sure that 'limit' is in a format that doesn't start with '1/' or contain curly braces.
91 E.g. use '/project/user' instead of '1/{project}/{user}'.
92 type: string
93 metric:
94 description: Immutable. The metric that should be limited, e.g. 'compute.googleapis.com/cpus'.
95 type: string
96 overrideValue:
97 description: The overriding quota limit value. Can be any nonnegative
98 integer, or -1 (unlimited quota).
99 type: string
100 projectRef:
101 description: The project that this resource belongs to.
102 oneOf:
103 - not:
104 required:
105 - external
106 required:
107 - name
108 - not:
109 anyOf:
110 - required:
111 - name
112 - required:
113 - namespace
114 required:
115 - external
116 properties:
117 external:
118 description: 'Allowed value: The `name` field of a `Project` resource.'
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 service-generated name of the
129 resource. Used for acquisition only. Leave unset to create a new
130 resource.
131 type: string
132 service:
133 description: Immutable. The service that the metrics belong to, e.g.
134 'compute.googleapis.com'.
135 type: string
136 required:
137 - limit
138 - metric
139 - overrideValue
140 - projectRef
141 - service
142 type: object
143 status:
144 properties:
145 conditions:
146 description: Conditions represent the latest available observation
147 of the resource's current state.
148 items:
149 properties:
150 lastTransitionTime:
151 description: Last time the condition transitioned from one status
152 to another.
153 type: string
154 message:
155 description: Human-readable message indicating details about
156 last transition.
157 type: string
158 reason:
159 description: Unique, one-word, CamelCase reason for the condition's
160 last transition.
161 type: string
162 status:
163 description: Status is the status of the condition. Can be True,
164 False, Unknown.
165 type: string
166 type:
167 description: Type is the type of the condition.
168 type: string
169 type: object
170 type: array
171 name:
172 description: The server-generated name of the quota override.
173 type: string
174 observedGeneration:
175 description: ObservedGeneration is the generation of the resource
176 that was most recently observed by the Config Connector controller.
177 If this is equal to metadata.generation, then that means that the
178 current reported status reflects the most recent desired state of
179 the resource.
180 type: integer
181 type: object
182 required:
183 - spec
184 type: object
185 served: true
186 storage: true
187 subresources:
188 status: {}
189status:
190 acceptedNames:
191 kind: ""
192 plural: ""
193 conditions: []
194 storedVersions: []
View as plain text