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: appenginestandardappversions.appengine.cnrm.cloud.google.com
13spec:
14 group: appengine.cnrm.cloud.google.com
15 names:
16 categories:
17 - gcp
18 kind: AppEngineStandardAppVersion
19 plural: appenginestandardappversions
20 shortNames:
21 - gcpappenginestandardappversion
22 - gcpappenginestandardappversions
23 singular: appenginestandardappversion
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 appEngineApis:
62 description: Allows App Engine second generation runtimes to access
63 the legacy bundled services.
64 type: boolean
65 automaticScaling:
66 description: Automatic scaling is based on request rate, response
67 latencies, and other application metrics.
68 properties:
69 maxConcurrentRequests:
70 description: |-
71 Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.
72
73 Defaults to a runtime-specific value.
74 type: integer
75 maxIdleInstances:
76 description: Maximum number of idle instances that should be maintained
77 for this version.
78 type: integer
79 maxPendingLatency:
80 description: |-
81 Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
82 A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
83 type: string
84 minIdleInstances:
85 description: Minimum number of idle instances that should be maintained
86 for this version. Only applicable for the default version of
87 a service.
88 type: integer
89 minPendingLatency:
90 description: |-
91 Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
92 A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
93 type: string
94 standardSchedulerSettings:
95 description: Scheduler settings for standard environment.
96 properties:
97 maxInstances:
98 description: Maximum number of instances to run for this version.
99 Set to zero to disable maxInstances configuration.
100 type: integer
101 minInstances:
102 description: Minimum number of instances to run for this version.
103 Set to zero to disable minInstances configuration.
104 type: integer
105 targetCpuUtilization:
106 description: Target CPU utilization ratio to maintain when
107 scaling. Should be a value in the range [0.50, 0.95], zero,
108 or a negative value.
109 type: number
110 targetThroughputUtilization:
111 description: Target throughput utilization ratio to maintain
112 when scaling. Should be a value in the range [0.50, 0.95],
113 zero, or a negative value.
114 type: number
115 type: object
116 type: object
117 basicScaling:
118 description: Basic scaling creates instances when your application
119 receives requests. Each instance will be shut down when the application
120 becomes idle. Basic scaling is ideal for work that is intermittent
121 or driven by user activity.
122 properties:
123 idleTimeout:
124 description: |-
125 Duration of time after the last request that an instance must wait before the instance is shut down.
126 A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". Defaults to 900s.
127 type: string
128 maxInstances:
129 description: Maximum number of instances to create for this version.
130 Must be in the range [1.0, 200.0].
131 type: integer
132 required:
133 - maxInstances
134 type: object
135 deleteServiceOnDestroy:
136 description: If set to 'true', the service will be deleted if it is
137 the last version.
138 type: boolean
139 deployment:
140 description: Code and application artifacts that make up this version.
141 properties:
142 files:
143 description: |-
144 Manifest of the files stored in Google Cloud Storage that are included as part of this version.
145 All files must be readable using the credentials supplied with this call.
146 items:
147 properties:
148 name:
149 type: string
150 sha1Sum:
151 description: SHA1 checksum of the file.
152 type: string
153 sourceUrl:
154 description: Source URL.
155 type: string
156 required:
157 - name
158 - sourceUrl
159 type: object
160 type: array
161 zip:
162 description: Zip File.
163 properties:
164 filesCount:
165 description: files count.
166 type: integer
167 sourceUrl:
168 description: Source URL.
169 type: string
170 required:
171 - sourceUrl
172 type: object
173 type: object
174 entrypoint:
175 description: The entrypoint for the application.
176 properties:
177 shell:
178 description: The format should be a shell command that can be
179 fed to bash -c.
180 type: string
181 required:
182 - shell
183 type: object
184 envVariables:
185 additionalProperties:
186 type: string
187 description: Environment variables available to the application.
188 type: object
189 handlers:
190 description: |-
191 An ordered list of URL-matching patterns that should be applied to incoming requests.
192 The first matching URL handles the request and other request handlers are not attempted.
193 items:
194 properties:
195 authFailAction:
196 description: 'Actions to take when the user is not logged in.
197 Possible values: ["AUTH_FAIL_ACTION_REDIRECT", "AUTH_FAIL_ACTION_UNAUTHORIZED"].'
198 type: string
199 login:
200 description: 'Methods to restrict access to a URL based on login
201 status. Possible values: ["LOGIN_OPTIONAL", "LOGIN_ADMIN",
202 "LOGIN_REQUIRED"].'
203 type: string
204 redirectHttpResponseCode:
205 description: '30x code to use when performing redirects for
206 the secure field. Possible values: ["REDIRECT_HTTP_RESPONSE_CODE_301",
207 "REDIRECT_HTTP_RESPONSE_CODE_302", "REDIRECT_HTTP_RESPONSE_CODE_303",
208 "REDIRECT_HTTP_RESPONSE_CODE_307"].'
209 type: string
210 script:
211 description: |-
212 Executes a script to handle the requests that match this URL pattern.
213 Only the auto value is supported for Node.js in the App Engine standard environment, for example "script:" "auto".
214 properties:
215 scriptPath:
216 description: Path to the script from the application root
217 directory.
218 type: string
219 required:
220 - scriptPath
221 type: object
222 securityLevel:
223 description: 'Security (HTTPS) enforcement for this URL. Possible
224 values: ["SECURE_DEFAULT", "SECURE_NEVER", "SECURE_OPTIONAL",
225 "SECURE_ALWAYS"].'
226 type: string
227 staticFiles:
228 description: Files served directly to the user for a given URL,
229 such as images, CSS stylesheets, or JavaScript source files.
230 Static file handlers describe which files in the application
231 directory are static files, and which URLs serve them.
232 properties:
233 applicationReadable:
234 description: |-
235 Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as
236 static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged
237 against both your code and static data storage resource quotas.
238 type: boolean
239 expiration:
240 description: |-
241 Time a static file served by this handler should be cached by web proxies and browsers.
242 A duration in seconds with up to nine fractional digits, terminated by 's'. Example "3.5s".
243 type: string
244 httpHeaders:
245 additionalProperties:
246 type: string
247 description: |-
248 HTTP headers to use for all responses from these URLs.
249 An object containing a list of "key:value" value pairs.".
250 type: object
251 mimeType:
252 description: |-
253 MIME type used to serve all files served by this handler.
254 Defaults to file-specific MIME types, which are derived from each file's filename extension.
255 type: string
256 path:
257 description: Path to the static files matched by the URL
258 pattern, from the application root directory. The path
259 can refer to text matched in groupings in the URL pattern.
260 type: string
261 requireMatchingFile:
262 description: Whether this handler should match the request
263 if the file referenced by the handler does not exist.
264 type: boolean
265 uploadPathRegex:
266 description: Regular expression that matches the file paths
267 for all files that should be referenced by this handler.
268 type: string
269 type: object
270 urlRegex:
271 description: |-
272 URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings.
273 All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.
274 type: string
275 type: object
276 type: array
277 inboundServices:
278 description: 'A list of the types of messages that this application
279 is able to receive. Possible values: ["INBOUND_SERVICE_MAIL", "INBOUND_SERVICE_MAIL_BOUNCE",
280 "INBOUND_SERVICE_XMPP_ERROR", "INBOUND_SERVICE_XMPP_MESSAGE", "INBOUND_SERVICE_XMPP_SUBSCRIBE",
281 "INBOUND_SERVICE_XMPP_PRESENCE", "INBOUND_SERVICE_CHANNEL_PRESENCE",
282 "INBOUND_SERVICE_WARMUP"].'
283 items:
284 type: string
285 type: array
286 instanceClass:
287 description: |-
288 Instance class that is used to run this version. Valid values are
289 AutomaticScaling: F1, F2, F4, F4_1G
290 BasicScaling or ManualScaling: B1, B2, B4, B4_1G, B8
291 Defaults to F1 for AutomaticScaling and B2 for ManualScaling and BasicScaling. If no scaling is specified, AutomaticScaling is chosen.
292 type: string
293 libraries:
294 description: Configuration for third-party Python runtime libraries
295 that are required by the application.
296 items:
297 properties:
298 name:
299 description: Name of the library. Example "django".
300 type: string
301 version:
302 description: Version of the library to select, or "latest".
303 type: string
304 type: object
305 type: array
306 manualScaling:
307 description: A service with manual scaling runs continuously, allowing
308 you to perform complex initialization and rely on the state of its
309 memory over time.
310 properties:
311 instances:
312 description: |-
313 Number of instances to assign to the service at the start.
314
315 **Note:** When managing the number of instances at runtime through the App Engine Admin API or the (now deprecated) Python 2
316 Modules API set_num_instances() you must use 'lifecycle.ignore_changes = ["manual_scaling"[0].instances]' to prevent drift detection.
317 type: integer
318 required:
319 - instances
320 type: object
321 noopOnDestroy:
322 description: If set to 'true', the application version will not be
323 deleted.
324 type: boolean
325 project:
326 description: Immutable.
327 type: string
328 resourceID:
329 description: Immutable. Optional. The versionId of the resource. Used
330 for creation and acquisition. When unset, the value of `metadata.name`
331 is used as the default.
332 type: string
333 runtime:
334 description: Desired runtime. Example python27.
335 type: string
336 runtimeApiVersion:
337 description: |-
338 The version of the API in the given runtime environment.
339 Please see the app.yaml reference for valid values at 'https://cloud.google.com/appengine/docs/standard/<language>/config/appref'\
340 Substitute '<language>' with 'python', 'java', 'php', 'ruby', 'go' or 'nodejs'.
341 type: string
342 serviceAccount:
343 description: The identity that the deployed version will run as. Admin
344 API will use the App Engine Appspot service account as default if
345 this field is neither provided in app.yaml file nor through CLI
346 flag.
347 type: string
348 serviceRef:
349 oneOf:
350 - not:
351 required:
352 - external
353 required:
354 - name
355 - not:
356 anyOf:
357 - required:
358 - name
359 - required:
360 - namespace
361 required:
362 - external
363 properties:
364 external:
365 description: 'Allowed value: The `name` field of an `AppEngineService`
366 resource.'
367 type: string
368 name:
369 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
370 type: string
371 namespace:
372 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
373 type: string
374 type: object
375 threadsafe:
376 description: Whether multiple requests can be dispatched to this version
377 at once.
378 type: boolean
379 vpcAccessConnector:
380 description: Enables VPC connectivity for standard apps.
381 properties:
382 egressSetting:
383 description: The egress setting for the connector, controlling
384 what traffic is diverted through it.
385 type: string
386 name:
387 description: Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
388 type: string
389 required:
390 - name
391 type: object
392 required:
393 - deployment
394 - entrypoint
395 - runtime
396 - serviceRef
397 type: object
398 status:
399 properties:
400 conditions:
401 description: Conditions represent the latest available observation
402 of the resource's current state.
403 items:
404 properties:
405 lastTransitionTime:
406 description: Last time the condition transitioned from one status
407 to another.
408 type: string
409 message:
410 description: Human-readable message indicating details about
411 last transition.
412 type: string
413 reason:
414 description: Unique, one-word, CamelCase reason for the condition's
415 last transition.
416 type: string
417 status:
418 description: Status is the status of the condition. Can be True,
419 False, Unknown.
420 type: string
421 type:
422 description: Type is the type of the condition.
423 type: string
424 type: object
425 type: array
426 name:
427 description: Full path to the Version resource in the API. Example,
428 "v1".
429 type: string
430 observedGeneration:
431 description: ObservedGeneration is the generation of the resource
432 that was most recently observed by the Config Connector controller.
433 If this is equal to metadata.generation, then that means that the
434 current reported status reflects the most recent desired state of
435 the resource.
436 type: integer
437 type: object
438 required:
439 - spec
440 type: object
441 served: true
442 storage: true
443 subresources:
444 status: {}
445status:
446 acceptedNames:
447 kind: ""
448 plural: ""
449 conditions: []
450 storedVersions: []
View as plain text