...
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: alpha
24 cnrm.cloud.google.com/system: "true"
25 cnrm.cloud.google.com/tf2crd: "true"
26 name: computenetworkendpoints.compute.cnrm.cloud.google.com
27spec:
28 group: compute.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: ComputeNetworkEndpoint
33 plural: computenetworkendpoints
34 shortNames:
35 - gcpcomputenetworkendpoint
36 - gcpcomputenetworkendpoints
37 singular: computenetworkendpoint
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: v1alpha1
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 instanceRef:
75 oneOf:
76 - not:
77 required:
78 - external
79 required:
80 - name
81 - not:
82 anyOf:
83 - required:
84 - name
85 - required:
86 - namespace
87 required:
88 - external
89 properties:
90 external:
91 description: 'Allowed value: The `name` field of a `ComputeInstance`
92 resource.'
93 type: string
94 name:
95 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
96 type: string
97 namespace:
98 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
99 type: string
100 type: object
101 ipAddress:
102 description: |-
103 Immutable. IPv4 address of network endpoint. The IP address must belong
104 to a VM in GCE (either the primary IP or as part of an aliased IP
105 range).
106 type: string
107 networkEndpointGroupRef:
108 oneOf:
109 - not:
110 required:
111 - external
112 required:
113 - name
114 - not:
115 anyOf:
116 - required:
117 - name
118 - required:
119 - namespace
120 required:
121 - external
122 properties:
123 external:
124 description: 'Allowed value: The `name` field of a `ComputeNetworkEndpointGroup`
125 resource.'
126 type: string
127 name:
128 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
129 type: string
130 namespace:
131 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
132 type: string
133 type: object
134 projectRef:
135 description: The project that this resource belongs to.
136 oneOf:
137 - not:
138 required:
139 - external
140 required:
141 - name
142 - not:
143 anyOf:
144 - required:
145 - name
146 - required:
147 - namespace
148 required:
149 - external
150 properties:
151 external:
152 description: 'Allowed value: The `name` field of a `Project` 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 resourceID:
162 description: Immutable. Optional. The port of the resource. Used for
163 creation and acquisition. When unset, the value of `metadata.name`
164 is used as the default.
165 type: string
166 zone:
167 description: Immutable. Zone where the containing network endpoint
168 group is located.
169 type: string
170 required:
171 - ipAddress
172 - networkEndpointGroupRef
173 - projectRef
174 - zone
175 type: object
176 status:
177 properties:
178 conditions:
179 description: Conditions represent the latest available observation
180 of the resource's current state.
181 items:
182 properties:
183 lastTransitionTime:
184 description: Last time the condition transitioned from one status
185 to another.
186 type: string
187 message:
188 description: Human-readable message indicating details about
189 last transition.
190 type: string
191 reason:
192 description: Unique, one-word, CamelCase reason for the condition's
193 last transition.
194 type: string
195 status:
196 description: Status is the status of the condition. Can be True,
197 False, Unknown.
198 type: string
199 type:
200 description: Type is the type of the condition.
201 type: string
202 type: object
203 type: array
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 type: object
212 required:
213 - spec
214 type: object
215 served: true
216 storage: true
217 subresources:
218 status: {}
219status:
220 acceptedNames:
221 kind: ""
222 plural: ""
223 conditions: []
224 storedVersions: []
View as plain text