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