...
Text file
src/edge-infra.dev/test/fixtures/crds/gcp/compute.cnrm.cloud.google.com_computeserviceattachments.yaml
1---
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7 name: computeserviceattachments.compute.cnrm.cloud.google.com
8spec:
9 group: compute.cnrm.cloud.google.com
10 names:
11 kind: ComputeServiceAttachment
12 listKind: ComputeServiceAttachmentList
13 plural: computeserviceattachments
14 singular: computeserviceattachment
15 scope: Namespaced
16 versions:
17 - name: v1beta1
18 schema:
19 openAPIV3Schema:
20 description: ComputeServiceAttachment is the Schema for the compute API
21 properties:
22 apiVersion:
23 description: |-
24 APIVersion defines the versioned schema of this representation of an object.
25 Servers should convert recognized schemas to the latest internal value, and
26 may reject unrecognized values.
27 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
28 type: string
29 kind:
30 description: |-
31 Kind is a string value representing the REST resource this object represents.
32 Servers may infer this from the endpoint the client submits requests to.
33 Cannot be updated.
34 In CamelCase.
35 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
36 type: string
37 metadata:
38 type: object
39 spec:
40 properties:
41 connectionPreference:
42 description: 'The connection preference of service attachment. The
43 value can be set to `ACCEPT_AUTOMATIC`. An `ACCEPT_AUTOMATIC` service
44 attachment is one that always accepts the connection from consumer
45 forwarding rules. Possible values: CONNECTION_PREFERENCE_UNSPECIFIED,
46 ACCEPT_AUTOMATIC, ACCEPT_MANUAL'
47 type: string
48 consumerAcceptLists:
49 description: Projects that are allowed to connect to this service
50 attachment.
51 items:
52 properties:
53 connectionLimit:
54 description: The value of the limit to set.
55 type: integer
56 projectRef:
57 properties:
58 external:
59 description: The external name of the referenced resource
60 type: string
61 kind:
62 description: Kind of the referent.
63 type: string
64 name:
65 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
66 type: string
67 namespace:
68 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
69 type: string
70 type: object
71 required:
72 - projectRef
73 type: object
74 type: array
75 consumerRejectLists:
76 items:
77 properties:
78 external:
79 description: The external name of the referenced resource
80 type: string
81 kind:
82 description: Kind of the referent.
83 type: string
84 name:
85 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
86 type: string
87 namespace:
88 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
89 type: string
90 type: object
91 type: array
92 description:
93 description: An optional description of this resource. Provide this
94 property when you create the resource.
95 type: string
96 enableProxyProtocol:
97 description: Immutable. If true, enable the proxy protocol which is
98 for supplying client TCP/IP address data in TCP connections that
99 traverse proxies on their way to destination servers.
100 type: boolean
101 location:
102 description: Immutable. The location for the resource
103 type: string
104 natSubnets:
105 items:
106 properties:
107 external:
108 description: The external name of the referenced resource
109 type: string
110 kind:
111 description: Kind of the referent.
112 type: string
113 name:
114 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
115 type: string
116 namespace:
117 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
118 type: string
119 type: object
120 type: array
121 projectRef:
122 description: Immutable. The Project that this resource belongs to.
123 properties:
124 external:
125 description: The external name of the referenced resource
126 type: string
127 kind:
128 description: Kind of the referent.
129 type: string
130 name:
131 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
132 type: string
133 namespace:
134 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
135 type: string
136 type: object
137 resourceID:
138 description: Immutable. Optional. The name of the resource. Used for
139 creation and acquisition. When unset, the value of `metadata.name`
140 is used as the default.
141 type: string
142 targetServiceRef:
143 description: Immutable.
144 properties:
145 external:
146 description: The external name of the referenced resource
147 type: string
148 kind:
149 description: Kind of the referent.
150 type: string
151 name:
152 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
153 type: string
154 namespace:
155 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
156 type: string
157 type: object
158 required:
159 - connectionPreference
160 - location
161 - natSubnets
162 - projectRef
163 - targetServiceRef
164 type: object
165 status:
166 properties:
167 conditions:
168 description: |-
169 Conditions represent the latest available observations of the
170 ComputeServiceAttachment's current state.
171 items:
172 properties:
173 lastTransitionTime:
174 description: Last time the condition transitioned from one status
175 to another.
176 type: string
177 message:
178 description: Human-readable message indicating details about
179 last transition.
180 type: string
181 reason:
182 description: |-
183 Unique, one-word, CamelCase reason for the condition's last
184 transition.
185 type: string
186 status:
187 description: Status is the status of the condition. Can be True,
188 False, Unknown.
189 type: string
190 type:
191 description: Type is the type of the condition.
192 type: string
193 type: object
194 type: array
195 connectedEndpoints:
196 description: An array of connections for all the consumers connected
197 to this service attachment.
198 items:
199 properties:
200 endpoint:
201 description: The url of a connected endpoint.
202 type: string
203 pscConnectionId:
204 description: The PSC connection id of the connected endpoint.
205 type: integer
206 status:
207 description: 'The status of a connected endpoint to this service
208 attachment. Possible values: PENDING, RUNNING, DONE'
209 type: string
210 type: object
211 type: array
212 fingerprint:
213 description: Fingerprint of this resource. This field is used internally
214 during updates of this resource.
215 type: string
216 id:
217 description: The unique identifier for the resource type. The server
218 generates this identifier.
219 type: integer
220 observedGeneration:
221 description: ObservedGeneration is the generation of the resource
222 that was most recently observed by the Config Connector controller.
223 If this is equal to metadata.generation, then that means that the
224 current reported status reflects the most recent desired state of
225 the resource.
226 type: integer
227 pscServiceAttachmentId:
228 description: An 128-bit global unique ID of the PSC service attachment.
229 properties:
230 high:
231 type: integer
232 low:
233 type: integer
234 type: object
235 region:
236 description: URL of the region where the service attachment resides.
237 This field applies only to the region resource. You must specify
238 this field as part of the HTTP request URL. It is not settable as
239 a field in the request body.
240 type: string
241 selfLink:
242 description: Server-defined URL for the resource.
243 type: string
244 type: object
245 type: object
246 served: true
247 storage: true
View as plain text