...
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: servicedirectoryendpoints.servicedirectory.cnrm.cloud.google.com
27spec:
28 group: servicedirectory.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: ServiceDirectoryEndpoint
33 plural: servicedirectoryendpoints
34 shortNames:
35 - gcpservicedirectoryendpoint
36 - gcpservicedirectoryendpoints
37 singular: servicedirectoryendpoint
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 addressRef:
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 `address` field of a `ComputeAddress`
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 networkRef:
102 description: |-
103 Only the `external` field is supported to configure the reference.
104
105 Immutable. The Google Compute Engine network (VPC) of the endpoint in the format
106 projects/<project number>/locations/global/networks/*.
107
108 The project must be specified by project number (project id is rejected). Incorrectly formatted networks are
109 rejected, but no other validation is performed on this field (ex. network or project existence,
110 reachability, or permissions).
111 oneOf:
112 - not:
113 required:
114 - external
115 required:
116 - name
117 - not:
118 anyOf:
119 - required:
120 - name
121 - required:
122 - namespace
123 required:
124 - external
125 properties:
126 external:
127 description: 'Allowed value: The `selfLink` field of a `ComputeNetwork`
128 resource.'
129 type: string
130 name:
131 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
132 type: string
133 namespace:
134 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
135 type: string
136 type: object
137 port:
138 description: |-
139 Port that the endpoint is running on, must be in the
140 range of [0, 65535]. If unspecified, the default is 0.
141 type: integer
142 resourceID:
143 description: Immutable. Optional. The endpointId of the resource.
144 Used for creation and acquisition. When unset, the value of `metadata.name`
145 is used as the default.
146 type: string
147 serviceRef:
148 description: The ServiceDirectoryService that this endpoint belongs
149 to.
150 oneOf:
151 - not:
152 required:
153 - external
154 required:
155 - name
156 - not:
157 anyOf:
158 - required:
159 - name
160 - required:
161 - namespace
162 required:
163 - external
164 properties:
165 external:
166 description: 'Allowed value: The `name` field of a `ServiceDirectoryService`
167 resource.'
168 type: string
169 name:
170 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
171 type: string
172 namespace:
173 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
174 type: string
175 type: object
176 required:
177 - serviceRef
178 type: object
179 status:
180 properties:
181 conditions:
182 description: Conditions represent the latest available observation
183 of the resource's current state.
184 items:
185 properties:
186 lastTransitionTime:
187 description: Last time the condition transitioned from one status
188 to another.
189 type: string
190 message:
191 description: Human-readable message indicating details about
192 last transition.
193 type: string
194 reason:
195 description: Unique, one-word, CamelCase reason for the condition's
196 last transition.
197 type: string
198 status:
199 description: Status is the status of the condition. Can be True,
200 False, Unknown.
201 type: string
202 type:
203 description: Type is the type of the condition.
204 type: string
205 type: object
206 type: array
207 name:
208 description: |-
209 The resource name for the endpoint in the format
210 'projects/*/locations/*/namespaces/*/services/*/endpoints/*'.
211 type: string
212 observedGeneration:
213 description: ObservedGeneration is the generation of the resource
214 that was most recently observed by the Config Connector controller.
215 If this is equal to metadata.generation, then that means that the
216 current reported status reflects the most recent desired state of
217 the resource.
218 type: integer
219 type: object
220 required:
221 - spec
222 type: object
223 served: true
224 storage: true
225 subresources:
226 status: {}
227status:
228 acceptedNames:
229 kind: ""
230 plural: ""
231 conditions: []
232 storedVersions: []
View as plain text