...
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: computeaddresses.compute.cnrm.cloud.google.com
27spec:
28 group: compute.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: ComputeAddress
33 plural: computeaddresses
34 shortNames:
35 - gcpcomputeaddress
36 - gcpcomputeaddresses
37 singular: computeaddress
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 address:
75 description: |-
76 Immutable. The static external IP address represented by this resource. Only
77 IPv4 is supported. An address may only be specified for INTERNAL
78 address types. The IP address must be inside the specified subnetwork,
79 if any. Set by the API if undefined.
80 type: string
81 addressType:
82 description: |-
83 Immutable. The type of address to reserve.
84 Note: if you set this argument's value as 'INTERNAL' you need to leave the 'network_tier' argument unset in that resource block. Default value: "EXTERNAL" Possible values: ["INTERNAL", "EXTERNAL"].
85 type: string
86 description:
87 description: Immutable. An optional description of this resource.
88 type: string
89 ipVersion:
90 description: 'Immutable. The IP Version that will be used by this
91 address. The default value is ''IPV4''. Possible values: ["IPV4",
92 "IPV6"]. This field can only be specified for a global address.'
93 type: string
94 location:
95 description: 'Location represents the geographical location of the
96 ComputeAddress. Specify a region name or "global" for global resources.
97 Reference: GCP definition of regions/zones (https://cloud.google.com/compute/docs/regions-zones/)'
98 type: string
99 networkRef:
100 description: |-
101 The network in which to reserve the address. If global, the address
102 must be within the RFC1918 IP space. The network cannot be deleted
103 if there are any reserved IP ranges referring to it. This field can
104 only be used with INTERNAL type with the VPC_PEERING and
105 IPSEC_INTERCONNECT purposes.
106 oneOf:
107 - not:
108 required:
109 - external
110 required:
111 - name
112 - not:
113 anyOf:
114 - required:
115 - name
116 - required:
117 - namespace
118 required:
119 - external
120 properties:
121 external:
122 description: 'Allowed value: The `selfLink` field of a `ComputeNetwork`
123 resource.'
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 networkTier:
133 description: |-
134 Immutable. The networking tier used for configuring this address. If this field is not
135 specified, it is assumed to be PREMIUM.
136 This argument should not be used when configuring Internal addresses, because [network tier cannot be set for internal traffic; it's always Premium](https://cloud.google.com/network-tiers/docs/overview). Possible values: ["PREMIUM", "STANDARD"].
137 type: string
138 prefixLength:
139 description: Immutable. The prefix length if the resource represents
140 an IP range.
141 type: integer
142 purpose:
143 description: |-
144 Immutable. The purpose of this resource, which can be one of the following values.
145
146 * GCE_ENDPOINT for addresses that are used by VM instances, alias IP
147 ranges, load balancers, and similar resources.
148
149 * SHARED_LOADBALANCER_VIP for an address that can be used by multiple
150 internal load balancers.
151
152 * VPC_PEERING for addresses that are reserved for VPC peer networks.
153
154 * IPSEC_INTERCONNECT for addresses created from a private IP range that
155 are reserved for a VLAN attachment in an HA VPN over Cloud Interconnect
156 configuration. These addresses are regional resources.
157
158 * PRIVATE_SERVICE_CONNECT for a private network address that is used to
159 configure Private Service Connect. Only global internal addresses can use
160 this purpose.
161
162
163 This should only be set when using an Internal address.
164 type: string
165 resourceID:
166 description: Immutable. Optional. The name of the resource. Used for
167 creation and acquisition. When unset, the value of `metadata.name`
168 is used as the default.
169 type: string
170 subnetworkRef:
171 description: |-
172 The subnetwork in which to reserve the address. If an IP address is
173 specified, it must be within the subnetwork's IP range. This field
174 can only be used with INTERNAL type with GCE_ENDPOINT/DNS_RESOLVER
175 purposes.
176 oneOf:
177 - not:
178 required:
179 - external
180 required:
181 - name
182 - not:
183 anyOf:
184 - required:
185 - name
186 - required:
187 - namespace
188 required:
189 - external
190 properties:
191 external:
192 description: 'Allowed value: The `selfLink` field of a `ComputeSubnetwork`
193 resource.'
194 type: string
195 name:
196 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
197 type: string
198 namespace:
199 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
200 type: string
201 type: object
202 required:
203 - location
204 type: object
205 status:
206 properties:
207 conditions:
208 description: Conditions represent the latest available observation
209 of the resource's current state.
210 items:
211 properties:
212 lastTransitionTime:
213 description: Last time the condition transitioned from one status
214 to another.
215 type: string
216 message:
217 description: Human-readable message indicating details about
218 last transition.
219 type: string
220 reason:
221 description: Unique, one-word, CamelCase reason for the condition's
222 last transition.
223 type: string
224 status:
225 description: Status is the status of the condition. Can be True,
226 False, Unknown.
227 type: string
228 type:
229 description: Type is the type of the condition.
230 type: string
231 type: object
232 type: array
233 creationTimestamp:
234 description: Creation timestamp in RFC3339 text format.
235 type: string
236 labelFingerprint:
237 description: |-
238 The fingerprint used for optimistic locking of this resource. Used
239 internally during updates.
240 type: string
241 observedGeneration:
242 description: ObservedGeneration is the generation of the resource
243 that was most recently observed by the Config Connector controller.
244 If this is equal to metadata.generation, then that means that the
245 current reported status reflects the most recent desired state of
246 the resource.
247 type: integer
248 selfLink:
249 type: string
250 users:
251 description: The URLs of the resources that are using this address.
252 items:
253 type: string
254 type: array
255 type: object
256 required:
257 - spec
258 type: object
259 served: true
260 storage: true
261 subresources:
262 status: {}
263status:
264 acceptedNames:
265 kind: ""
266 plural: ""
267 conditions: []
268 storedVersions: []
View as plain text