...
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: computeroutes.compute.cnrm.cloud.google.com
27spec:
28 group: compute.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: ComputeRoute
33 plural: computeroutes
34 shortNames:
35 - gcpcomputeroute
36 - gcpcomputeroutes
37 singular: computeroute
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 description:
75 description: |-
76 Immutable. An optional description of this resource. Provide this property
77 when you create the resource.
78 type: string
79 destRange:
80 description: |-
81 Immutable. The destination range of outgoing packets that this route applies to.
82 Only IPv4 is supported.
83 type: string
84 networkRef:
85 description: The network that this route applies to.
86 oneOf:
87 - not:
88 required:
89 - external
90 required:
91 - name
92 - not:
93 anyOf:
94 - required:
95 - name
96 - required:
97 - namespace
98 required:
99 - external
100 properties:
101 external:
102 description: 'Allowed value: The `selfLink` field of a `ComputeNetwork`
103 resource.'
104 type: string
105 name:
106 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
107 type: string
108 namespace:
109 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
110 type: string
111 type: object
112 nextHopGateway:
113 description: |-
114 Immutable. URL to a gateway that should handle matching packets.
115 Currently, you can only specify the internet gateway, using a full or
116 partial valid URL:
117 * 'https://www.googleapis.com/compute/v1/projects/project/global/gateways/default-internet-gateway'
118 * 'projects/project/global/gateways/default-internet-gateway'
119 * 'global/gateways/default-internet-gateway'
120 * The string 'default-internet-gateway'.
121 type: string
122 nextHopILBRef:
123 description: |-
124 A forwarding rule of type loadBalancingScheme=INTERNAL that should
125 handle matching packets. Note that this can only be used when the
126 destinationRange is a public (non-RFC 1918) IP CIDR range.
127 oneOf:
128 - not:
129 required:
130 - external
131 required:
132 - name
133 - not:
134 anyOf:
135 - required:
136 - name
137 - required:
138 - namespace
139 required:
140 - external
141 properties:
142 external:
143 description: 'Allowed value: The `selfLink` field of a `ComputeForwardingRule`
144 resource.'
145 type: string
146 name:
147 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
148 type: string
149 namespace:
150 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
151 type: string
152 type: object
153 nextHopInstanceRef:
154 description: Instance that should handle matching packets.
155 oneOf:
156 - not:
157 required:
158 - external
159 required:
160 - name
161 - not:
162 anyOf:
163 - required:
164 - name
165 - required:
166 - namespace
167 required:
168 - external
169 properties:
170 external:
171 description: 'Allowed value: The `selfLink` field of a `ComputeInstance`
172 resource.'
173 type: string
174 name:
175 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
176 type: string
177 namespace:
178 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
179 type: string
180 type: object
181 nextHopIp:
182 description: Immutable. Network IP address of an instance that should
183 handle matching packets.
184 type: string
185 nextHopVPNTunnelRef:
186 description: The ComputeVPNTunnel that should handle matching packets
187 oneOf:
188 - not:
189 required:
190 - external
191 required:
192 - name
193 - not:
194 anyOf:
195 - required:
196 - name
197 - required:
198 - namespace
199 required:
200 - external
201 properties:
202 external:
203 description: 'Allowed value: The `selfLink` field of a `ComputeVPNTunnel`
204 resource.'
205 type: string
206 name:
207 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
208 type: string
209 namespace:
210 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
211 type: string
212 type: object
213 priority:
214 description: |-
215 Immutable. The priority of this route. Priority is used to break ties in cases
216 where there is more than one matching route of equal prefix length.
217
218 In the case of two routes with equal prefix length, the one with the
219 lowest-numbered priority value wins.
220
221 Default value is 1000. Valid range is 0 through 65535.
222 type: integer
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 tags:
229 description: Immutable. A list of instance tags to which this route
230 applies.
231 items:
232 type: string
233 type: array
234 required:
235 - destRange
236 - networkRef
237 type: object
238 status:
239 properties:
240 conditions:
241 description: Conditions represent the latest available observation
242 of the resource's current state.
243 items:
244 properties:
245 lastTransitionTime:
246 description: Last time the condition transitioned from one status
247 to another.
248 type: string
249 message:
250 description: Human-readable message indicating details about
251 last transition.
252 type: string
253 reason:
254 description: Unique, one-word, CamelCase reason for the condition's
255 last transition.
256 type: string
257 status:
258 description: Status is the status of the condition. Can be True,
259 False, Unknown.
260 type: string
261 type:
262 description: Type is the type of the condition.
263 type: string
264 type: object
265 type: array
266 nextHopNetwork:
267 description: URL to a Network that should handle matching packets.
268 type: string
269 observedGeneration:
270 description: ObservedGeneration is the generation of the resource
271 that was most recently observed by the Config Connector controller.
272 If this is equal to metadata.generation, then that means that the
273 current reported status reflects the most recent desired state of
274 the resource.
275 type: integer
276 selfLink:
277 type: string
278 type: object
279 required:
280 - spec
281 type: object
282 served: true
283 storage: true
284 subresources:
285 status: {}
286status:
287 acceptedNames:
288 kind: ""
289 plural: ""
290 conditions: []
291 storedVersions: []
View as plain text