...
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: computerouters.compute.cnrm.cloud.google.com
13spec:
14 group: compute.cnrm.cloud.google.com
15 names:
16 categories:
17 - gcp
18 kind: ComputeRouter
19 plural: computerouters
20 shortNames:
21 - gcpcomputerouter
22 - gcpcomputerouters
23 singular: computerouter
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 bgp:
62 description: BGP information specific to this router.
63 properties:
64 advertiseMode:
65 description: 'User-specified flag to indicate which mode to use
66 for advertisement. Default value: "DEFAULT" Possible values:
67 ["DEFAULT", "CUSTOM"].'
68 type: string
69 advertisedGroups:
70 description: |-
71 User-specified list of prefix groups to advertise in custom mode.
72 This field can only be populated if advertiseMode is CUSTOM and
73 is advertised to all peers of the router. These groups will be
74 advertised in addition to any specified prefixes. Leave this field
75 blank to advertise no custom groups.
76
77 This enum field has the one valid value: ALL_SUBNETS.
78 items:
79 type: string
80 type: array
81 advertisedIpRanges:
82 description: |-
83 User-specified list of individual IP ranges to advertise in
84 custom mode. This field can only be populated if advertiseMode
85 is CUSTOM and is advertised to all peers of the router. These IP
86 ranges will be advertised in addition to any specified groups.
87 Leave this field blank to advertise no custom IP ranges.
88 items:
89 properties:
90 description:
91 description: User-specified description for the IP range.
92 type: string
93 range:
94 description: |-
95 The IP range to advertise. The value must be a
96 CIDR-formatted string.
97 type: string
98 required:
99 - range
100 type: object
101 type: array
102 asn:
103 description: |-
104 Local BGP Autonomous System Number (ASN). Must be an RFC6996
105 private ASN, either 16-bit or 32-bit. The value will be fixed for
106 this router resource. All VPN tunnels that link to this router
107 will have the same local ASN.
108 type: integer
109 keepaliveInterval:
110 description: |-
111 The interval in seconds between BGP keepalive messages that are sent
112 to the peer. Hold time is three times the interval at which keepalive
113 messages are sent, and the hold time is the maximum number of seconds
114 allowed to elapse between successive keepalive messages that BGP
115 receives from a peer.
116
117 BGP will use the smaller of either the local hold time value or the
118 peer's hold time value as the hold time for the BGP connection
119 between the two peers. If set, this value must be between 20 and 60.
120 The default is 20.
121 type: integer
122 required:
123 - asn
124 type: object
125 description:
126 description: An optional description of this resource.
127 type: string
128 encryptedInterconnectRouter:
129 description: |-
130 Immutable. Indicates if a router is dedicated for use with encrypted VLAN
131 attachments (interconnectAttachments).
132 type: boolean
133 networkRef:
134 description: A reference to the network to which this router belongs.
135 oneOf:
136 - not:
137 required:
138 - external
139 required:
140 - name
141 - not:
142 anyOf:
143 - required:
144 - name
145 - required:
146 - namespace
147 required:
148 - external
149 properties:
150 external:
151 description: 'Allowed value: The `selfLink` field of a `ComputeNetwork`
152 resource.'
153 type: string
154 name:
155 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
156 type: string
157 namespace:
158 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
159 type: string
160 type: object
161 region:
162 description: Immutable. Region where the router resides.
163 type: string
164 resourceID:
165 description: Immutable. Optional. The name of the resource. Used for
166 creation and acquisition. When unset, the value of `metadata.name`
167 is used as the default.
168 type: string
169 required:
170 - networkRef
171 - region
172 type: object
173 status:
174 properties:
175 conditions:
176 description: Conditions represent the latest available observation
177 of the resource's current state.
178 items:
179 properties:
180 lastTransitionTime:
181 description: Last time the condition transitioned from one status
182 to another.
183 type: string
184 message:
185 description: Human-readable message indicating details about
186 last transition.
187 type: string
188 reason:
189 description: Unique, one-word, CamelCase reason for the condition's
190 last transition.
191 type: string
192 status:
193 description: Status is the status of the condition. Can be True,
194 False, Unknown.
195 type: string
196 type:
197 description: Type is the type of the condition.
198 type: string
199 type: object
200 type: array
201 creationTimestamp:
202 description: Creation timestamp in RFC3339 text format.
203 type: string
204 observedGeneration:
205 description: ObservedGeneration is the generation of the resource
206 that was most recently observed by the Config Connector controller.
207 If this is equal to metadata.generation, then that means that the
208 current reported status reflects the most recent desired state of
209 the resource.
210 type: integer
211 selfLink:
212 type: string
213 type: object
214 required:
215 - spec
216 type: object
217 served: true
218 storage: true
219 subresources:
220 status: {}
221status:
222 acceptedNames:
223 kind: ""
224 plural: ""
225 conditions: []
226 storedVersions: []
View as plain text