...
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: computeserviceattachments.compute.cnrm.cloud.google.com
27spec:
28 group: compute.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: ComputeServiceAttachment
33 plural: computeserviceattachments
34 shortNames:
35 - gcpcomputeserviceattachment
36 - gcpcomputeserviceattachments
37 singular: computeserviceattachment
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 properties:
74 connectionPreference:
75 description: 'The connection preference of service attachment. The
76 value can be set to `ACCEPT_AUTOMATIC`. An `ACCEPT_AUTOMATIC` service
77 attachment is one that always accepts the connection from consumer
78 forwarding rules. Possible values: CONNECTION_PREFERENCE_UNSPECIFIED,
79 ACCEPT_AUTOMATIC, ACCEPT_MANUAL'
80 type: string
81 consumerAcceptLists:
82 description: Projects that are allowed to connect to this service
83 attachment.
84 items:
85 properties:
86 connectionLimit:
87 description: The value of the limit to set.
88 format: int64
89 type: integer
90 projectRef:
91 oneOf:
92 - not:
93 required:
94 - external
95 required:
96 - name
97 - not:
98 anyOf:
99 - required:
100 - name
101 - required:
102 - namespace
103 required:
104 - external
105 properties:
106 external:
107 description: |-
108 The project id or number for the project to set the limit for.
109
110 Allowed value: The Google Cloud resource name of a `Project` resource (format: `projects/{{name}}`).
111 type: string
112 name:
113 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
114 type: string
115 namespace:
116 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
117 type: string
118 type: object
119 required:
120 - projectRef
121 type: object
122 type: array
123 consumerRejectLists:
124 items:
125 oneOf:
126 - not:
127 required:
128 - external
129 required:
130 - name
131 - not:
132 anyOf:
133 - required:
134 - name
135 - required:
136 - namespace
137 required:
138 - external
139 properties:
140 external:
141 description: 'Allowed value: The Google Cloud resource name
142 of a `Project` resource (format: `projects/{{name}}`).'
143 type: string
144 name:
145 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
146 type: string
147 namespace:
148 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
149 type: string
150 type: object
151 type: array
152 description:
153 description: An optional description of this resource. Provide this
154 property when you create the resource.
155 type: string
156 enableProxyProtocol:
157 description: Immutable. If true, enable the proxy protocol which is
158 for supplying client TCP/IP address data in TCP connections that
159 traverse proxies on their way to destination servers.
160 type: boolean
161 location:
162 description: Immutable. The location for the resource
163 type: string
164 natSubnets:
165 items:
166 oneOf:
167 - not:
168 required:
169 - external
170 required:
171 - name
172 - not:
173 anyOf:
174 - required:
175 - name
176 - required:
177 - namespace
178 required:
179 - external
180 properties:
181 external:
182 description: 'Allowed value: The `selfLink` field of a `ComputeSubnetwork`
183 resource.'
184 type: string
185 name:
186 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
187 type: string
188 namespace:
189 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
190 type: string
191 type: object
192 type: array
193 projectRef:
194 description: Immutable. The Project that this resource belongs to.
195 oneOf:
196 - not:
197 required:
198 - external
199 required:
200 - name
201 - not:
202 anyOf:
203 - required:
204 - name
205 - required:
206 - namespace
207 required:
208 - external
209 properties:
210 external:
211 description: |-
212 The project for the resource
213
214 Allowed value: The Google Cloud resource name of a `Project` resource (format: `projects/{{name}}`).
215 type: string
216 name:
217 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
218 type: string
219 namespace:
220 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
221 type: string
222 type: object
223 resourceID:
224 description: Immutable. Optional. The name of the resource. Used for
225 creation and acquisition. When unset, the value of `metadata.name`
226 is used as the default.
227 type: string
228 targetServiceRef:
229 description: Immutable.
230 oneOf:
231 - not:
232 required:
233 - external
234 required:
235 - name
236 - not:
237 anyOf:
238 - required:
239 - name
240 - required:
241 - namespace
242 required:
243 - external
244 properties:
245 external:
246 description: |-
247 The URL of a service serving the endpoint identified by this service attachment.
248
249 Allowed value: The `selfLink` field of a `ComputeForwardingRule` resource.
250 type: string
251 name:
252 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
253 type: string
254 namespace:
255 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
256 type: string
257 type: object
258 required:
259 - connectionPreference
260 - location
261 - natSubnets
262 - projectRef
263 - targetServiceRef
264 type: object
265 status:
266 properties:
267 conditions:
268 description: Conditions represent the latest available observation
269 of the resource's current state.
270 items:
271 properties:
272 lastTransitionTime:
273 description: Last time the condition transitioned from one status
274 to another.
275 type: string
276 message:
277 description: Human-readable message indicating details about
278 last transition.
279 type: string
280 reason:
281 description: Unique, one-word, CamelCase reason for the condition's
282 last transition.
283 type: string
284 status:
285 description: Status is the status of the condition. Can be True,
286 False, Unknown.
287 type: string
288 type:
289 description: Type is the type of the condition.
290 type: string
291 type: object
292 type: array
293 connectedEndpoints:
294 description: An array of connections for all the consumers connected
295 to this service attachment.
296 items:
297 properties:
298 endpoint:
299 description: The url of a connected endpoint.
300 type: string
301 pscConnectionId:
302 description: The PSC connection id of the connected endpoint.
303 format: int64
304 type: integer
305 status:
306 description: 'The status of a connected endpoint to this service
307 attachment. Possible values: PENDING, RUNNING, DONE'
308 type: string
309 type: object
310 type: array
311 fingerprint:
312 description: Fingerprint of this resource. This field is used internally
313 during updates of this resource.
314 type: string
315 id:
316 description: The unique identifier for the resource type. The server
317 generates this identifier.
318 format: int64
319 type: integer
320 observedGeneration:
321 description: ObservedGeneration is the generation of the resource
322 that was most recently observed by the Config Connector controller.
323 If this is equal to metadata.generation, then that means that the
324 current reported status reflects the most recent desired state of
325 the resource.
326 type: integer
327 pscServiceAttachmentId:
328 description: An 128-bit global unique ID of the PSC service attachment.
329 properties:
330 high:
331 format: int64
332 type: integer
333 low:
334 format: int64
335 type: integer
336 type: object
337 region:
338 description: URL of the region where the service attachment resides.
339 This field applies only to the region resource. You must specify
340 this field as part of the HTTP request URL. It is not settable as
341 a field in the request body.
342 type: string
343 selfLink:
344 description: Server-defined URL for the resource.
345 type: string
346 type: object
347 required:
348 - spec
349 type: object
350 served: true
351 storage: true
352 subresources:
353 status: {}
354status:
355 acceptedNames:
356 kind: ""
357 plural: ""
358 conditions: []
359 storedVersions: []
View as plain text