...
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: logginglogviews.logging.cnrm.cloud.google.com
27spec:
28 group: logging.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: LoggingLogView
33 plural: logginglogviews
34 shortNames:
35 - gcplogginglogview
36 - gcplogginglogviews
37 singular: logginglogview
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 bucketRef:
116 description: Immutable.
117 oneOf:
118 - not:
119 required:
120 - external
121 required:
122 - name
123 - not:
124 anyOf:
125 - required:
126 - name
127 - required:
128 - namespace
129 required:
130 - external
131 properties:
132 external:
133 description: |-
134 The bucket of the resource
135
136 Allowed value: The Google Cloud resource name of a `LoggingLogBucket` resource (format: `{{parent}}/locations/{{location}}/buckets/{{name}}`).
137 type: string
138 name:
139 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
140 type: string
141 namespace:
142 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
143 type: string
144 type: object
145 description:
146 description: Describes this view.
147 type: string
148 filter:
149 description: 'Filter that restricts which log entries in a bucket
150 are visible in this view. Filters are restricted to be a logical
151 AND of ==/!= of any of the following: - originating project/folder/organization/billing
152 account. - resource type - log id For example: SOURCE("projects/myproject")
153 AND resource.type = "gce_instance" AND LOG_ID("stdout")'
154 type: string
155 folderRef:
156 description: Immutable. The Folder that this resource belongs to.
157 Only one of [billingAccountRef, folderRef, organizationRef, projectRef]
158 may be specified.
159 oneOf:
160 - not:
161 required:
162 - external
163 required:
164 - name
165 - not:
166 anyOf:
167 - required:
168 - name
169 - required:
170 - namespace
171 required:
172 - external
173 properties:
174 external:
175 description: 'Allowed value: The Google Cloud resource name of
176 a `Folder` resource (format: `folders/{{name}}`).'
177 type: string
178 name:
179 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
180 type: string
181 namespace:
182 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
183 type: string
184 type: object
185 location:
186 description: 'Immutable. The location of the resource. The supported
187 locations are: global, us-central1, us-east1, us-west1, asia-east1,
188 europe-west1.'
189 type: string
190 organizationRef:
191 description: Immutable. The Organization that this resource belongs
192 to. Only one of [billingAccountRef, folderRef, organizationRef,
193 projectRef] 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 Google Cloud Organization (format: `organizations/{{name}}`).'
212 type: string
213 name:
214 description: |-
215 [WARNING] Organization not yet supported in Config Connector, use 'external' field to reference existing resources.
216 Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
217 type: string
218 namespace:
219 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
220 type: string
221 type: object
222 projectRef:
223 description: Immutable. The Project that this resource belongs to.
224 Only one of [billingAccountRef, folderRef, organizationRef, projectRef]
225 may be specified.
226 oneOf:
227 - not:
228 required:
229 - external
230 required:
231 - name
232 - not:
233 anyOf:
234 - required:
235 - name
236 - required:
237 - namespace
238 required:
239 - external
240 properties:
241 external:
242 description: 'Allowed value: The Google Cloud resource name of
243 a `Project` resource (format: `projects/{{name}}`).'
244 type: string
245 name:
246 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
247 type: string
248 namespace:
249 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
250 type: string
251 type: object
252 resourceID:
253 description: Immutable. Optional. The name of the resource. Used for
254 creation and acquisition. When unset, the value of `metadata.name`
255 is used as the default.
256 type: string
257 required:
258 - bucketRef
259 type: object
260 status:
261 properties:
262 conditions:
263 description: Conditions represent the latest available observation
264 of the resource's current state.
265 items:
266 properties:
267 lastTransitionTime:
268 description: Last time the condition transitioned from one status
269 to another.
270 type: string
271 message:
272 description: Human-readable message indicating details about
273 last transition.
274 type: string
275 reason:
276 description: Unique, one-word, CamelCase reason for the condition's
277 last transition.
278 type: string
279 status:
280 description: Status is the status of the condition. Can be True,
281 False, Unknown.
282 type: string
283 type:
284 description: Type is the type of the condition.
285 type: string
286 type: object
287 type: array
288 createTime:
289 description: Output only. The creation timestamp of the view.
290 format: date-time
291 type: string
292 observedGeneration:
293 description: ObservedGeneration is the generation of the resource
294 that was most recently observed by the Config Connector controller.
295 If this is equal to metadata.generation, then that means that the
296 current reported status reflects the most recent desired state of
297 the resource.
298 type: integer
299 updateTime:
300 description: Output only. The last update timestamp of the view.
301 format: date-time
302 type: string
303 type: object
304 required:
305 - spec
306 type: object
307 served: true
308 storage: true
309 subresources:
310 status: {}
311status:
312 acceptedNames:
313 kind: ""
314 plural: ""
315 conditions: []
316 storedVersions: []
View as plain text