...
1---
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7 name: computevpntunnels.compute.cnrm.cloud.google.com
8spec:
9 group: compute.cnrm.cloud.google.com
10 names:
11 kind: ComputeVPNTunnel
12 listKind: ComputeVPNTunnelList
13 plural: computevpntunnels
14 singular: computevpntunnel
15 scope: Namespaced
16 versions:
17 - name: v1beta1
18 schema:
19 openAPIV3Schema:
20 description: ComputeVPNTunnel 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: Immutable. An optional description of this resource.
43 type: string
44 ikeVersion:
45 description: |-
46 Immutable. IKE protocol version to use when establishing the VPN tunnel with
47 peer VPN gateway.
48 Acceptable IKE versions are 1 or 2. Default version is 2.
49 type: integer
50 localTrafficSelector:
51 description: |-
52 Immutable. Local traffic selector to use when establishing the VPN tunnel with
53 peer VPN gateway. The value should be a CIDR formatted string,
54 for example '192.168.0.0/16'. The ranges should be disjoint.
55 Only IPv4 is supported.
56 items:
57 type: string
58 type: array
59 peerExternalGatewayInterface:
60 description: Immutable. The interface ID of the external VPN gateway
61 to which this VPN tunnel is connected.
62 type: integer
63 peerExternalGatewayRef:
64 description: |-
65 The peer side external VPN gateway to which this VPN tunnel
66 is connected.
67 properties:
68 external:
69 description: The external name of the referenced resource
70 type: string
71 kind:
72 description: Kind of the referent.
73 type: string
74 name:
75 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
76 type: string
77 namespace:
78 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
79 type: string
80 type: object
81 peerGCPGatewayRef:
82 description: |-
83 The peer side HA GCP VPN gateway to which this VPN tunnel is
84 connected. If provided, the VPN tunnel will automatically use the
85 same VPN gateway interface ID in the peer GCP VPN gateway.
86 properties:
87 external:
88 description: The external name of the referenced resource
89 type: string
90 kind:
91 description: Kind of the referent.
92 type: string
93 name:
94 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
95 type: string
96 namespace:
97 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
98 type: string
99 type: object
100 peerIp:
101 description: Immutable. IP address of the peer VPN gateway. Only IPv4
102 is supported.
103 type: string
104 region:
105 description: Immutable. The region where the tunnel is located. If
106 unset, is set to the region of 'target_vpn_gateway'.
107 type: string
108 remoteTrafficSelector:
109 description: |-
110 Immutable. Remote traffic selector to use when establishing the VPN tunnel with
111 peer VPN gateway. The value should be a CIDR formatted string,
112 for example '192.168.0.0/16'. The ranges should be disjoint.
113 Only IPv4 is supported.
114 items:
115 type: string
116 type: array
117 resourceID:
118 description: Immutable. Optional. The name of the resource. Used for
119 creation and acquisition. When unset, the value of `metadata.name`
120 is used as the default.
121 type: string
122 routerRef:
123 description: The router to be used for dynamic routing.
124 properties:
125 external:
126 description: The external name of the referenced resource
127 type: string
128 kind:
129 description: Kind of the referent.
130 type: string
131 name:
132 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
133 type: string
134 namespace:
135 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
136 type: string
137 type: object
138 sharedSecret:
139 description: |-
140 Immutable. Shared secret used to set the secure session between the Cloud VPN
141 gateway and the peer VPN gateway.
142 properties:
143 value:
144 description: Value of the field. Cannot be used if 'valueFrom'
145 is specified.
146 type: string
147 valueFrom:
148 description: Source for the field's value. Cannot be used if 'value'
149 is specified.
150 properties:
151 secretKeyRef:
152 description: Reference to a value with the given key in the
153 given Secret in the resource's namespace.
154 properties:
155 external:
156 description: The external name of the referenced resource
157 type: string
158 kind:
159 description: Kind of the referent.
160 type: string
161 name:
162 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
163 type: string
164 namespace:
165 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
166 type: string
167 type: object
168 type: object
169 type: object
170 targetVPNGatewayRef:
171 description: |-
172 The ComputeTargetVPNGateway with which this VPN tunnel is
173 associated.
174 properties:
175 external:
176 description: The external name of the referenced resource
177 type: string
178 kind:
179 description: Kind of the referent.
180 type: string
181 name:
182 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
183 type: string
184 namespace:
185 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
186 type: string
187 type: object
188 vpnGatewayInterface:
189 description: Immutable. The interface ID of the VPN gateway with which
190 this VPN tunnel is associated.
191 type: integer
192 vpnGatewayRef:
193 description: |-
194 The ComputeVPNGateway with which this VPN tunnel is associated.
195 This must be used if a High Availability VPN gateway resource is
196 created.
197 properties:
198 external:
199 description: The external name of the referenced resource
200 type: string
201 kind:
202 description: Kind of the referent.
203 type: string
204 name:
205 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
206 type: string
207 namespace:
208 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
209 type: string
210 type: object
211 required:
212 - region
213 - sharedSecret
214 type: object
215 status:
216 properties:
217 conditions:
218 description: |-
219 Conditions represent the latest available observations of the
220 ComputeVPNTunnel's current state.
221 items:
222 properties:
223 lastTransitionTime:
224 description: Last time the condition transitioned from one status
225 to another.
226 type: string
227 message:
228 description: Human-readable message indicating details about
229 last transition.
230 type: string
231 reason:
232 description: |-
233 Unique, one-word, CamelCase reason for the condition's last
234 transition.
235 type: string
236 status:
237 description: Status is the status of the condition. Can be True,
238 False, Unknown.
239 type: string
240 type:
241 description: Type is the type of the condition.
242 type: string
243 type: object
244 type: array
245 creationTimestamp:
246 description: Creation timestamp in RFC3339 text format.
247 type: string
248 detailedStatus:
249 description: Detailed status message for the VPN tunnel.
250 type: string
251 labelFingerprint:
252 description: |-
253 The fingerprint used for optimistic locking of this resource. Used
254 internally during updates.
255 type: string
256 observedGeneration:
257 description: ObservedGeneration is the generation of the resource
258 that was most recently observed by the Config Connector controller.
259 If this is equal to metadata.generation, then that means that the
260 current reported status reflects the most recent desired state of
261 the resource.
262 type: integer
263 selfLink:
264 type: string
265 sharedSecretHash:
266 description: Hash of the shared secret.
267 type: string
268 tunnelId:
269 description: The unique identifier for the resource. This identifier
270 is defined by the server.
271 type: string
272 type: object
273 type: object
274 served: true
275 storage: true
View as plain text