...
1apiVersion: apiextensions.k8s.io/v1
2kind: CustomResourceDefinition
3metadata:
4 annotations:
5 cnrm.cloud.google.com/version: 0.0.0-dev
6 creationTimestamp: null
7 labels:
8 cnrm.cloud.google.com/dcl2crd: "true"
9 cnrm.cloud.google.com/managed-by-kcc: "true"
10 cnrm.cloud.google.com/stability-level: stable
11 cnrm.cloud.google.com/system: "true"
12 name: logginglogbuckets.logging.cnrm.cloud.google.com
13spec:
14 group: logging.cnrm.cloud.google.com
15 names:
16 categories:
17 - gcp
18 kind: LoggingLogBucket
19 plural: logginglogbuckets
20 shortNames:
21 - gcplogginglogbucket
22 - gcplogginglogbuckets
23 singular: logginglogbucket
24 preserveUnknownFields: false
25 scope: Namespaced
26 versions:
27 - additionalPrinterColumns:
28 - jsonPath: .metadata.creationTimestamp
29 name: Age
30 type: date
31 - description: When 'True', the most recent reconcile of the resource succeeded
32 jsonPath: .status.conditions[?(@.type=='Ready')].status
33 name: Ready
34 type: string
35 - description: The reason for the value in 'Ready'
36 jsonPath: .status.conditions[?(@.type=='Ready')].reason
37 name: Status
38 type: string
39 - description: The last transition time for the value in 'Status'
40 jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
41 name: Status Age
42 type: date
43 name: v1beta1
44 schema:
45 openAPIV3Schema:
46 properties:
47 apiVersion:
48 description: 'apiVersion defines the versioned schema of this representation
49 of an object. Servers should convert recognized schemas to the latest
50 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
51 type: string
52 kind:
53 description: 'kind is a string value representing the REST resource this
54 object represents. Servers may infer this from the endpoint the client
55 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
56 type: string
57 metadata:
58 type: object
59 spec:
60 oneOf:
61 - required:
62 - billingAccountRef
63 - required:
64 - folderRef
65 - required:
66 - organizationRef
67 - required:
68 - projectRef
69 properties:
70 billingAccountRef:
71 description: Immutable. The BillingAccount that this resource belongs
72 to. Only one of [billingAccountRef, folderRef, organizationRef,
73 projectRef] may be specified.
74 oneOf:
75 - not:
76 required:
77 - external
78 required:
79 - name
80 - not:
81 anyOf:
82 - required:
83 - name
84 - required:
85 - namespace
86 required:
87 - external
88 properties:
89 external:
90 description: 'Allowed value: The Google Cloud resource name of
91 a Google Cloud Billing Account (format: `billingAccounts/{{name}}`).'
92 type: string
93 name:
94 description: |-
95 [WARNING] BillingAccount not yet supported in Config Connector, use 'external' field to reference existing resources.
96 Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
97 type: string
98 namespace:
99 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
100 type: string
101 type: object
102 description:
103 description: Describes this bucket.
104 type: string
105 folderRef:
106 description: Immutable. The Folder that this resource belongs to.
107 Only one of [billingAccountRef, folderRef, organizationRef, projectRef]
108 may be specified.
109 oneOf:
110 - not:
111 required:
112 - external
113 required:
114 - name
115 - not:
116 anyOf:
117 - required:
118 - name
119 - required:
120 - namespace
121 required:
122 - external
123 properties:
124 external:
125 description: 'Allowed value: The Google Cloud resource name of
126 a `Folder` resource (format: `folders/{{name}}`).'
127 type: string
128 name:
129 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
130 type: string
131 namespace:
132 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
133 type: string
134 type: object
135 location:
136 description: 'Immutable. The location of the resource. The supported
137 locations are: global, us-central1, us-east1, us-west1, asia-east1,
138 europe-west1.'
139 type: string
140 locked:
141 description: Whether the bucket has been locked. The retention period
142 on a locked bucket may not be changed. Locked buckets may only be
143 deleted if they are empty.
144 type: boolean
145 organizationRef:
146 description: Immutable. The Organization that this resource belongs
147 to. Only one of [billingAccountRef, folderRef, organizationRef,
148 projectRef] may be specified.
149 oneOf:
150 - not:
151 required:
152 - external
153 required:
154 - name
155 - not:
156 anyOf:
157 - required:
158 - name
159 - required:
160 - namespace
161 required:
162 - external
163 properties:
164 external:
165 description: 'Allowed value: The Google Cloud resource name of
166 a Google Cloud Organization (format: `organizations/{{name}}`).'
167 type: string
168 name:
169 description: |-
170 [WARNING] Organization not yet supported in Config Connector, use 'external' field to reference existing resources.
171 Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
172 type: string
173 namespace:
174 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
175 type: string
176 type: object
177 projectRef:
178 description: Immutable. The Project that this resource belongs to.
179 Only one of [billingAccountRef, folderRef, organizationRef, projectRef]
180 may be specified.
181 oneOf:
182 - not:
183 required:
184 - external
185 required:
186 - name
187 - not:
188 anyOf:
189 - required:
190 - name
191 - required:
192 - namespace
193 required:
194 - external
195 properties:
196 external:
197 description: 'Allowed value: The Google Cloud resource name of
198 a `Project` resource (format: `projects/{{name}}`).'
199 type: string
200 name:
201 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
202 type: string
203 namespace:
204 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
205 type: string
206 type: object
207 resourceID:
208 description: Immutable. Optional. The name of the resource. Used for
209 creation and acquisition. When unset, the value of `metadata.name`
210 is used as the default.
211 type: string
212 retentionDays:
213 description: Logs will be retained by default for this amount of time,
214 after which they will automatically be deleted. The minimum retention
215 period is 1 day. If this value is set to zero at bucket creation
216 time, the default time of 30 days will be used.
217 format: int64
218 type: integer
219 required:
220 - location
221 type: object
222 status:
223 properties:
224 conditions:
225 description: Conditions represent the latest available observation
226 of the resource's current state.
227 items:
228 properties:
229 lastTransitionTime:
230 description: Last time the condition transitioned from one status
231 to another.
232 type: string
233 message:
234 description: Human-readable message indicating details about
235 last transition.
236 type: string
237 reason:
238 description: Unique, one-word, CamelCase reason for the condition's
239 last transition.
240 type: string
241 status:
242 description: Status is the status of the condition. Can be True,
243 False, Unknown.
244 type: string
245 type:
246 description: Type is the type of the condition.
247 type: string
248 type: object
249 type: array
250 createTime:
251 description: Output only. The creation timestamp of the bucket. This
252 is not set for any of the default buckets.
253 format: date-time
254 type: string
255 lifecycleState:
256 description: 'Output only. The bucket lifecycle state. Possible values:
257 LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED'
258 type: string
259 observedGeneration:
260 description: ObservedGeneration is the generation of the resource
261 that was most recently observed by the Config Connector controller.
262 If this is equal to metadata.generation, then that means that the
263 current reported status reflects the most recent desired state of
264 the resource.
265 type: integer
266 updateTime:
267 description: Output only. The last update timestamp of the bucket.
268 format: date-time
269 type: string
270 type: object
271 required:
272 - spec
273 type: object
274 served: true
275 storage: true
276 subresources:
277 status: {}
278status:
279 acceptedNames:
280 kind: ""
281 plural: ""
282 conditions: []
283 storedVersions: []
View as plain text