...
1---
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7 name: computerouters.compute.cnrm.cloud.google.com
8spec:
9 group: compute.cnrm.cloud.google.com
10 names:
11 kind: ComputeRouter
12 listKind: ComputeRouterList
13 plural: computerouters
14 singular: computerouter
15 scope: Namespaced
16 versions:
17 - name: v1beta1
18 schema:
19 openAPIV3Schema:
20 description: ComputeRouter 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 bgp:
42 description: BGP information specific to this router.
43 properties:
44 advertiseMode:
45 description: 'User-specified flag to indicate which mode to use
46 for advertisement. Default value: "DEFAULT" Possible values:
47 ["DEFAULT", "CUSTOM"].'
48 type: string
49 advertisedGroups:
50 description: |-
51 User-specified list of prefix groups to advertise in custom mode.
52 This field can only be populated if advertiseMode is CUSTOM and
53 is advertised to all peers of the router. These groups will be
54 advertised in addition to any specified prefixes. Leave this field
55 blank to advertise no custom groups.
56
57
58 This enum field has the one valid value: ALL_SUBNETS.
59 items:
60 type: string
61 type: array
62 advertisedIpRanges:
63 description: |-
64 User-specified list of individual IP ranges to advertise in
65 custom mode. This field can only be populated if advertiseMode
66 is CUSTOM and is advertised to all peers of the router. These IP
67 ranges will be advertised in addition to any specified groups.
68 Leave this field blank to advertise no custom IP ranges.
69 items:
70 properties:
71 description:
72 description: User-specified description for the IP range.
73 type: string
74 range:
75 description: |-
76 The IP range to advertise. The value must be a
77 CIDR-formatted string.
78 type: string
79 required:
80 - range
81 type: object
82 type: array
83 asn:
84 description: |-
85 Local BGP Autonomous System Number (ASN). Must be an RFC6996
86 private ASN, either 16-bit or 32-bit. The value will be fixed for
87 this router resource. All VPN tunnels that link to this router
88 will have the same local ASN.
89 type: integer
90 keepaliveInterval:
91 description: |-
92 The interval in seconds between BGP keepalive messages that are sent
93 to the peer. Hold time is three times the interval at which keepalive
94 messages are sent, and the hold time is the maximum number of seconds
95 allowed to elapse between successive keepalive messages that BGP
96 receives from a peer.
97
98
99 BGP will use the smaller of either the local hold time value or the
100 peer's hold time value as the hold time for the BGP connection
101 between the two peers. If set, this value must be between 20 and 60.
102 The default is 20.
103 type: integer
104 required:
105 - asn
106 type: object
107 description:
108 description: An optional description of this resource.
109 type: string
110 encryptedInterconnectRouter:
111 description: |-
112 Immutable. Indicates if a router is dedicated for use with encrypted VLAN
113 attachments (interconnectAttachments).
114 type: boolean
115 networkRef:
116 description: A reference to the network to which this router belongs.
117 properties:
118 external:
119 description: The external name of the referenced resource
120 type: string
121 kind:
122 description: Kind of the referent.
123 type: string
124 name:
125 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
126 type: string
127 namespace:
128 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
129 type: string
130 type: object
131 region:
132 description: Immutable. Region where the router resides.
133 type: string
134 resourceID:
135 description: Immutable. Optional. The name of the resource. Used for
136 creation and acquisition. When unset, the value of `metadata.name`
137 is used as the default.
138 type: string
139 required:
140 - networkRef
141 - region
142 type: object
143 status:
144 properties:
145 conditions:
146 description: |-
147 Conditions represent the latest available observations of the
148 ComputeRouter's current state.
149 items:
150 properties:
151 lastTransitionTime:
152 description: Last time the condition transitioned from one status
153 to another.
154 type: string
155 message:
156 description: Human-readable message indicating details about
157 last transition.
158 type: string
159 reason:
160 description: |-
161 Unique, one-word, CamelCase reason for the condition's last
162 transition.
163 type: string
164 status:
165 description: Status is the status of the condition. Can be True,
166 False, Unknown.
167 type: string
168 type:
169 description: Type is the type of the condition.
170 type: string
171 type: object
172 type: array
173 creationTimestamp:
174 description: Creation timestamp in RFC3339 text format.
175 type: string
176 observedGeneration:
177 description: ObservedGeneration is the generation of the resource
178 that was most recently observed by the Config Connector controller.
179 If this is equal to metadata.generation, then that means that the
180 current reported status reflects the most recent desired state of
181 the resource.
182 type: integer
183 selfLink:
184 type: string
185 type: object
186 type: object
187 served: true
188 storage: true
View as plain text