...
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: apigatewayapiconfigs.apigateway.cnrm.cloud.google.com
27spec:
28 group: apigateway.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: APIGatewayAPIConfig
33 plural: apigatewayapiconfigs
34 shortNames:
35 - gcpapigatewayapiconfig
36 - gcpapigatewayapiconfigs
37 singular: apigatewayapiconfig
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 api:
75 description: Immutable. The API to attach the config to.
76 type: string
77 apiConfigIdPrefix:
78 description: Immutable. Creates a unique name beginning with the specified
79 prefix. If this and api_config_id are unspecified, a random value
80 is chosen for the name.
81 type: string
82 displayName:
83 description: A user-visible name for the API.
84 type: string
85 gatewayConfig:
86 description: |-
87 Immutable. Immutable. Gateway specific configuration.
88 If not specified, backend authentication will be set to use OIDC authentication using the default compute service account.
89 properties:
90 backendConfig:
91 description: Backend settings that are applied to all backends
92 of the Gateway.
93 properties:
94 googleServiceAccount:
95 description: |-
96 Immutable. Google Cloud IAM service account used to sign OIDC tokens for backends that have authentication configured
97 (https://cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services.configs#backend).
98 type: string
99 required:
100 - googleServiceAccount
101 type: object
102 required:
103 - backendConfig
104 type: object
105 grpcServices:
106 description: gRPC service definition files. If specified, openapiDocuments
107 must not be included.
108 items:
109 properties:
110 fileDescriptorSet:
111 description: |-
112 Immutable. Input only. File descriptor set, generated by protoc.
113 To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb.
114
115 $ protoc --include_imports --include_source_info test.proto -o out.pb.
116 properties:
117 contents:
118 description: Immutable. Base64 encoded content of the file.
119 type: string
120 path:
121 description: Immutable. The file path (full or relative
122 path). This is typically the path of the file when it
123 is uploaded.
124 type: string
125 required:
126 - contents
127 - path
128 type: object
129 source:
130 description: Uncompiled proto files associated with the descriptor
131 set, used for display purposes (server-side compilation is
132 not supported). These should match the inputs to 'protoc'
133 command used to generate fileDescriptorSet.
134 items:
135 properties:
136 contents:
137 description: Immutable. Base64 encoded content of the
138 file.
139 type: string
140 path:
141 description: Immutable. The file path (full or relative
142 path). This is typically the path of the file when it
143 is uploaded.
144 type: string
145 required:
146 - contents
147 - path
148 type: object
149 type: array
150 required:
151 - fileDescriptorSet
152 type: object
153 type: array
154 managedServiceConfigs:
155 description: |-
156 Optional. Service Configuration files. At least one must be included when using gRPC service definitions. See https://cloud.google.com/endpoints/docs/grpc/grpc-service-config#service_configuration_overview for the expected file contents.
157 If multiple files are specified, the files are merged with the following rules: * All singular scalar fields are merged using "last one wins" semantics in the order of the files uploaded. * Repeated fields are concatenated. * Singular embedded messages are merged using these rules for nested fields.
158 items:
159 properties:
160 contents:
161 description: Immutable. Base64 encoded content of the file.
162 type: string
163 path:
164 description: Immutable. The file path (full or relative path).
165 This is typically the path of the file when it is uploaded.
166 type: string
167 required:
168 - contents
169 - path
170 type: object
171 type: array
172 openapiDocuments:
173 description: OpenAPI specification documents. If specified, grpcServices
174 and managedServiceConfigs must not be included.
175 items:
176 properties:
177 document:
178 description: The OpenAPI Specification document file.
179 properties:
180 contents:
181 description: Immutable. Base64 encoded content of the file.
182 type: string
183 path:
184 description: Immutable. The file path (full or relative
185 path). This is typically the path of the file when it
186 is uploaded.
187 type: string
188 required:
189 - contents
190 - path
191 type: object
192 required:
193 - document
194 type: object
195 type: array
196 projectRef:
197 description: The project that this resource belongs to.
198 oneOf:
199 - not:
200 required:
201 - external
202 required:
203 - name
204 - not:
205 anyOf:
206 - required:
207 - name
208 - required:
209 - namespace
210 required:
211 - external
212 properties:
213 external:
214 description: 'Allowed value: The `name` field of a `Project` resource.'
215 type: string
216 name:
217 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
218 type: string
219 namespace:
220 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
221 type: string
222 type: object
223 resourceID:
224 description: Immutable. Optional. The apiConfigId of the resource.
225 Used for creation and acquisition. When unset, the value of `metadata.name`
226 is used as the default.
227 type: string
228 required:
229 - api
230 - projectRef
231 type: object
232 status:
233 properties:
234 conditions:
235 description: Conditions represent the latest available observation
236 of the resource's current state.
237 items:
238 properties:
239 lastTransitionTime:
240 description: Last time the condition transitioned from one status
241 to another.
242 type: string
243 message:
244 description: Human-readable message indicating details about
245 last transition.
246 type: string
247 reason:
248 description: Unique, one-word, CamelCase reason for the condition's
249 last transition.
250 type: string
251 status:
252 description: Status is the status of the condition. Can be True,
253 False, Unknown.
254 type: string
255 type:
256 description: Type is the type of the condition.
257 type: string
258 type: object
259 type: array
260 name:
261 description: The resource name of the API Config.
262 type: string
263 observedGeneration:
264 description: ObservedGeneration is the generation of the resource
265 that was most recently observed by the Config Connector controller.
266 If this is equal to metadata.generation, then that means that the
267 current reported status reflects the most recent desired state of
268 the resource.
269 type: integer
270 serviceConfigId:
271 description: The ID of the associated Service Config (https://cloud.google.com/service-infrastructure/docs/glossary#config).
272 type: string
273 type: object
274 required:
275 - spec
276 type: object
277 served: true
278 storage: true
279 subresources:
280 status: {}
281status:
282 acceptedNames:
283 kind: ""
284 plural: ""
285 conditions: []
286 storedVersions: []
View as plain text