...
1---
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7 name: computeroutes.compute.cnrm.cloud.google.com
8spec:
9 group: compute.cnrm.cloud.google.com
10 names:
11 kind: ComputeRoute
12 listKind: ComputeRouteList
13 plural: computeroutes
14 singular: computeroute
15 scope: Namespaced
16 versions:
17 - name: v1beta1
18 schema:
19 openAPIV3Schema:
20 description: ComputeRoute 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 description:
42 description: |-
43 Immutable. An optional description of this resource. Provide this property
44 when you create the resource.
45 type: string
46 destRange:
47 description: |-
48 Immutable. The destination range of outgoing packets that this route applies to.
49 Only IPv4 is supported.
50 type: string
51 networkRef:
52 description: The network that this route applies to.
53 properties:
54 external:
55 description: The external name of the referenced resource
56 type: string
57 kind:
58 description: Kind of the referent.
59 type: string
60 name:
61 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
62 type: string
63 namespace:
64 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
65 type: string
66 type: object
67 nextHopGateway:
68 description: |-
69 Immutable. URL to a gateway that should handle matching packets.
70 Currently, you can only specify the internet gateway, using a full or
71 partial valid URL:
72 * 'https://www.googleapis.com/compute/v1/projects/project/global/gateways/default-internet-gateway'
73 * 'projects/project/global/gateways/default-internet-gateway'
74 * 'global/gateways/default-internet-gateway'
75 * The string 'default-internet-gateway'.
76 type: string
77 nextHopILBRef:
78 description: |-
79 A forwarding rule of type loadBalancingScheme=INTERNAL that should
80 handle matching packets. Note that this can only be used when the
81 destinationRange is a public (non-RFC 1918) IP CIDR range.
82 properties:
83 external:
84 description: The external name of the referenced resource
85 type: string
86 kind:
87 description: Kind of the referent.
88 type: string
89 name:
90 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
91 type: string
92 namespace:
93 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
94 type: string
95 type: object
96 nextHopInstanceRef:
97 description: Instance that should handle matching packets.
98 properties:
99 external:
100 description: The external name of the referenced resource
101 type: string
102 kind:
103 description: Kind of the referent.
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 nextHopIp:
113 description: Immutable. Network IP address of an instance that should
114 handle matching packets.
115 type: string
116 nextHopVPNTunnelRef:
117 description: The ComputeVPNTunnel that should handle matching packets
118 properties:
119 external:
120 description: The external name of the referenced resource
121 type: string
122 kind:
123 description: Kind of the referent.
124 type: string
125 name:
126 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
127 type: string
128 namespace:
129 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
130 type: string
131 type: object
132 priority:
133 description: |-
134 Immutable. The priority of this route. Priority is used to break ties in cases
135 where there is more than one matching route of equal prefix length.
136
137
138 In the case of two routes with equal prefix length, the one with the
139 lowest-numbered priority value wins.
140
141
142 Default value is 1000. Valid range is 0 through 65535.
143 type: integer
144 resourceID:
145 description: Immutable. Optional. The name of the resource. Used for
146 creation and acquisition. When unset, the value of `metadata.name`
147 is used as the default.
148 type: string
149 tags:
150 description: Immutable. A list of instance tags to which this route
151 applies.
152 items:
153 type: string
154 type: array
155 required:
156 - destRange
157 - networkRef
158 type: object
159 status:
160 properties:
161 conditions:
162 description: |-
163 Conditions represent the latest available observations of the
164 ComputeRoute's current state.
165 items:
166 properties:
167 lastTransitionTime:
168 description: Last time the condition transitioned from one status
169 to another.
170 type: string
171 message:
172 description: Human-readable message indicating details about
173 last transition.
174 type: string
175 reason:
176 description: |-
177 Unique, one-word, CamelCase reason for the condition's last
178 transition.
179 type: string
180 status:
181 description: Status is the status of the condition. Can be True,
182 False, Unknown.
183 type: string
184 type:
185 description: Type is the type of the condition.
186 type: string
187 type: object
188 type: array
189 nextHopNetwork:
190 description: URL to a Network that should handle matching packets.
191 type: string
192 observedGeneration:
193 description: ObservedGeneration is the generation of the resource
194 that was most recently observed by the Config Connector controller.
195 If this is equal to metadata.generation, then that means that the
196 current reported status reflects the most recent desired state of
197 the resource.
198 type: integer
199 selfLink:
200 type: string
201 type: object
202 type: object
203 served: true
204 storage: true
View as plain text