...
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: stable
24 cnrm.cloud.google.com/system: "true"
25 cnrm.cloud.google.com/tf2crd: "true"
26 name: computeregionnetworkendpointgroups.compute.cnrm.cloud.google.com
27spec:
28 group: compute.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: ComputeRegionNetworkEndpointGroup
33 plural: computeregionnetworkendpointgroups
34 shortNames:
35 - gcpcomputeregionnetworkendpointgroup
36 - gcpcomputeregionnetworkendpointgroups
37 singular: computeregionnetworkendpointgroup
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 cloudFunction:
75 description: |-
76 Immutable. Only valid when networkEndpointType is "SERVERLESS".
77 Only one of cloud_run, app_engine, cloud_function or serverless_deployment may be set.
78 properties:
79 functionRef:
80 description: |-
81 Immutable. A user-defined name of the Cloud Function.
82 The function name is case-sensitive and must be 1-63 characters long.
83 Example value: "func1".
84 oneOf:
85 - not:
86 required:
87 - external
88 required:
89 - name
90 - not:
91 anyOf:
92 - required:
93 - name
94 - required:
95 - namespace
96 required:
97 - external
98 properties:
99 external:
100 description: 'Allowed value: The `name` field of a `CloudFunctionsFunction`
101 resource.'
102 type: string
103 name:
104 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
105 type: string
106 namespace:
107 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
108 type: string
109 type: object
110 urlMask:
111 description: |-
112 Immutable. A template to parse function field from a request URL. URL mask allows
113 for routing to multiple Cloud Functions without having to create
114 multiple Network Endpoint Groups and backend services.
115
116 For example, request URLs "mydomain.com/function1" and "mydomain.com/function2"
117 can be backed by the same Serverless NEG with URL mask "/". The URL mask
118 will parse them to { function = "function1" } and { function = "function2" } respectively.
119 type: string
120 type: object
121 cloudRun:
122 description: |-
123 Immutable. Only valid when networkEndpointType is "SERVERLESS".
124 Only one of cloud_run, app_engine, cloud_function or serverless_deployment may be set.
125 properties:
126 serviceRef:
127 description: |-
128 Immutable. Cloud Run service is the main resource of Cloud Run.
129 The service must be 1-63 characters long, and comply with RFC1035.
130 Example value: "run-service".
131 oneOf:
132 - not:
133 required:
134 - external
135 required:
136 - name
137 - not:
138 anyOf:
139 - required:
140 - name
141 - required:
142 - namespace
143 required:
144 - external
145 properties:
146 external:
147 description: 'Allowed value: The `name` field of a `RunService`
148 resource.'
149 type: string
150 name:
151 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
152 type: string
153 namespace:
154 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
155 type: string
156 type: object
157 tag:
158 description: |-
159 Immutable. Cloud Run tag represents the "named-revision" to provide
160 additional fine-grained traffic routing information.
161 The tag must be 1-63 characters long, and comply with RFC1035.
162 Example value: "revision-0010".
163 type: string
164 urlMask:
165 description: |-
166 Immutable. A template to parse service and tag fields from a request URL.
167 URL mask allows for routing to multiple Run services without having
168 to create multiple network endpoint groups and backend services.
169
170 For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2"
171 an be backed by the same Serverless Network Endpoint Group (NEG) with
172 URL mask ".domain.com/". The URL mask will parse them to { service="bar1", tag="foo1" }
173 and { service="bar2", tag="foo2" } respectively.
174 type: string
175 type: object
176 description:
177 description: |-
178 Immutable. An optional description of this resource. Provide this property when
179 you create the resource.
180 type: string
181 networkEndpointType:
182 description: 'Immutable. Type of network endpoints in this network
183 endpoint group. Defaults to SERVERLESS Default value: "SERVERLESS"
184 Possible values: ["SERVERLESS", "PRIVATE_SERVICE_CONNECT"].'
185 type: string
186 networkRef:
187 description: |-
188 Immutable. This field is only used for PSC.
189 The URL of the network to which all network endpoints in the NEG belong. Uses
190 "default" project network if unspecified.
191 oneOf:
192 - not:
193 required:
194 - external
195 required:
196 - name
197 - not:
198 anyOf:
199 - required:
200 - name
201 - required:
202 - namespace
203 required:
204 - external
205 properties:
206 external:
207 description: 'Allowed value: The `selfLink` field of a `ComputeNetwork`
208 resource.'
209 type: string
210 name:
211 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
212 type: string
213 namespace:
214 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
215 type: string
216 type: object
217 pscTargetService:
218 description: |-
219 Immutable. The target service url used to set up private service connection to
220 a Google API or a PSC Producer Service Attachment.
221 type: string
222 region:
223 description: Immutable. A reference to the region where the Serverless
224 NEGs Reside.
225 type: string
226 resourceID:
227 description: Immutable. Optional. The name of the resource. Used for
228 creation and acquisition. When unset, the value of `metadata.name`
229 is used as the default.
230 type: string
231 subnetworkRef:
232 description: |-
233 Immutable. This field is only used for PSC.
234 Optional URL of the subnetwork to which all network endpoints in the NEG belong.
235 oneOf:
236 - not:
237 required:
238 - external
239 required:
240 - name
241 - not:
242 anyOf:
243 - required:
244 - name
245 - required:
246 - namespace
247 required:
248 - external
249 properties:
250 external:
251 description: 'Allowed value: The `selfLink` field of a `ComputeSubnetwork`
252 resource.'
253 type: string
254 name:
255 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
256 type: string
257 namespace:
258 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
259 type: string
260 type: object
261 required:
262 - region
263 type: object
264 status:
265 properties:
266 conditions:
267 description: Conditions represent the latest available observation
268 of the resource's current state.
269 items:
270 properties:
271 lastTransitionTime:
272 description: Last time the condition transitioned from one status
273 to another.
274 type: string
275 message:
276 description: Human-readable message indicating details about
277 last transition.
278 type: string
279 reason:
280 description: Unique, one-word, CamelCase reason for the condition's
281 last transition.
282 type: string
283 status:
284 description: Status is the status of the condition. Can be True,
285 False, Unknown.
286 type: string
287 type:
288 description: Type is the type of the condition.
289 type: string
290 type: object
291 type: array
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 selfLink:
300 type: string
301 type: object
302 required:
303 - spec
304 type: object
305 served: true
306 storage: true
307 subresources:
308 status: {}
309status:
310 acceptedNames:
311 kind: ""
312 plural: ""
313 conditions: []
314 storedVersions: []
View as plain text