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