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/dcl2crd: "true"
9 cnrm.cloud.google.com/managed-by-kcc: "true"
10 cnrm.cloud.google.com/stability-level: alpha
11 cnrm.cloud.google.com/system: "true"
12 name: runservices.run.cnrm.cloud.google.com
13spec:
14 group: run.cnrm.cloud.google.com
15 names:
16 categories:
17 - gcp
18 kind: RunService
19 plural: runservices
20 shortNames:
21 - gcprunservice
22 - gcprunservices
23 singular: runservice
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: v1beta1
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 annotations:
62 additionalProperties:
63 type: string
64 description: 'Unstructured key value map that may be set by external
65 tools to store and arbitrary metadata. They are not queryable and
66 should be preserved when modifying objects. Cloud Run will populate
67 some annotations using ''run.googleapis.com'' or ''serving.knative.dev''
68 namespaces. This field follows Kubernetes annotations'' namespacing,
69 limits, and rules. More info: http://kubernetes.io/docs/user-guide/annotations'
70 type: object
71 binaryAuthorization:
72 description: Settings for the Binary Authorization feature.
73 properties:
74 breakglassJustification:
75 description: If present, indicates to use Breakglass using this
76 justification. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass
77 type: string
78 useDefault:
79 description: If True, indicates to use the default project's binary
80 authorization policy. If False, binary authorization will be
81 disabled
82 type: boolean
83 type: object
84 client:
85 description: Arbitrary identifier for the API client.
86 type: string
87 clientVersion:
88 description: Arbitrary version identifier for the API client.
89 type: string
90 description:
91 description: User-provided description of the Service.
92 type: string
93 ingress:
94 description: Provides the ingress settings for this Service. On output,
95 returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED
96 if no revision is active.
97 type: string
98 launchStage:
99 description: 'The launch stage as defined by [Google Cloud Platform
100 Launch Stages](http://cloud.google.com/terms/launch-stages). Cloud
101 Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified,
102 GA is assumed. Possible values: LAUNCH_STAGE_UNSPECIFIED, UNIMPLEMENTED,
103 PRELAUNCH, EARLY_ACCESS, ALPHA, BETA, GA, DEPRECATED'
104 type: string
105 location:
106 description: Immutable. The location for the resource
107 type: string
108 projectRef:
109 description: Immutable. The Project that this resource belongs to.
110 oneOf:
111 - not:
112 required:
113 - external
114 required:
115 - name
116 - not:
117 anyOf:
118 - required:
119 - name
120 - required:
121 - namespace
122 required:
123 - external
124 properties:
125 external:
126 description: |-
127 The project for the resource
128
129 Allowed value: The Google Cloud resource name of a `Project` resource (format: `projects/{{name}}`).
130 type: string
131 name:
132 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
133 type: string
134 namespace:
135 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
136 type: string
137 type: object
138 resourceID:
139 description: Immutable. Optional. The name of the resource. Used for
140 creation and acquisition. When unset, the value of `metadata.name`
141 is used as the default.
142 type: string
143 template:
144 description: Required. The template used to create revisions for this
145 Service.
146 properties:
147 annotations:
148 additionalProperties:
149 type: string
150 description: KRM-style annotations for the resource.
151 type: object
152 containerConcurrency:
153 description: Sets the maximum number of requests that each serving
154 instance can receive.
155 format: int64
156 type: integer
157 containers:
158 description: Holds the single container that defines the unit
159 of execution for this Revision.
160 items:
161 properties:
162 args:
163 description: 'Arguments to the entrypoint. The docker image''s
164 CMD is used if this is not provided. Variable references
165 $(VAR_NAME) are expanded using the container''s environment.
166 If a variable cannot be resolved, the reference in the
167 input string will be unchanged. The $(VAR_NAME) syntax
168 can be escaped with a double $$, ie: $$(VAR_NAME). Escaped
169 references will never be expanded, regardless of whether
170 the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell'
171 items:
172 type: string
173 type: array
174 command:
175 description: 'Entrypoint array. Not executed within a shell.
176 The docker image''s ENTRYPOINT is used if this is not
177 provided. Variable references $(VAR_NAME) are expanded
178 using the container''s environment. If a variable cannot
179 be resolved, the reference in the input string will be
180 unchanged. The $(VAR_NAME) syntax can be escaped with
181 a double $$, ie: $$(VAR_NAME). Escaped references will
182 never be expanded, regardless of whether the variable
183 exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell'
184 items:
185 type: string
186 type: array
187 env:
188 description: List of environment variables to set in the
189 container.
190 items:
191 properties:
192 name:
193 description: Required. Name of the environment variable.
194 Must be a C_IDENTIFIER, and mnay not exceed 32768
195 characters.
196 type: string
197 value:
198 description: 'Variable references $(VAR_NAME) are
199 expanded using the previous defined environment
200 variables in the container and any route environment
201 variables. If a variable cannot be resolved, the
202 reference in the input string will be unchanged.
203 The $(VAR_NAME) syntax can be escaped with a double
204 $$, ie: $$(VAR_NAME). Escaped references will never
205 be expanded, regardless of whether the variable
206 exists or not. Defaults to "", and the maximum length
207 is 32768 bytes.'
208 type: string
209 valueSource:
210 description: Source for the environment variable's
211 value.
212 properties:
213 secretKeyRef:
214 description: Selects a secret and a specific version
215 from Cloud Secret Manager.
216 properties:
217 secretRef:
218 oneOf:
219 - not:
220 required:
221 - external
222 required:
223 - name
224 - not:
225 anyOf:
226 - required:
227 - name
228 - required:
229 - namespace
230 required:
231 - external
232 properties:
233 external:
234 description: |-
235 Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project.
236
237 Allowed value: The Google Cloud resource name of a `SecretManagerSecret` resource (format: `projects/{{project}}/secrets/{{name}}`).
238 type: string
239 name:
240 description: 'Name of the referent. More
241 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
242 type: string
243 namespace:
244 description: 'Namespace of the referent.
245 More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
246 type: string
247 type: object
248 versionRef:
249 oneOf:
250 - not:
251 required:
252 - external
253 required:
254 - name
255 - not:
256 anyOf:
257 - required:
258 - name
259 - required:
260 - namespace
261 required:
262 - external
263 properties:
264 external:
265 description: |-
266 The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
267
268 Allowed value: The Google Cloud resource name of a `SecretManagerSecretVersion` resource (format: `{{name}}`).
269 type: string
270 name:
271 description: 'Name of the referent. More
272 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
273 type: string
274 namespace:
275 description: 'Namespace of the referent.
276 More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
277 type: string
278 type: object
279 required:
280 - secretRef
281 type: object
282 type: object
283 required:
284 - name
285 type: object
286 type: array
287 image:
288 description: 'Required. URL of the Container image in Google
289 Container Registry or Docker More info: https://kubernetes.io/docs/concepts/containers/images'
290 type: string
291 name:
292 description: Name of the container specified as a DNS_LABEL.
293 type: string
294 ports:
295 description: List of ports to expose from the container.
296 Only a single port can be specified. The specified ports
297 must be listening on all interfaces (0.0.0.0) within the
298 container to be accessible. If omitted, a port number
299 will be chosen and passed to the container through the
300 PORT environment variable for the container to listen
301 on.
302 items:
303 properties:
304 containerPort:
305 description: Port number the container listens on.
306 This must be a valid TCP port number, 0 < container_port
307 < 65536.
308 format: int64
309 type: integer
310 name:
311 description: If specified, used to specify which protocol
312 to use. Allowed values are "http1" and "h2c".
313 type: string
314 type: object
315 type: array
316 resources:
317 description: 'Compute Resource requirements by this container.
318 More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources'
319 properties:
320 cpuIdle:
321 description: Determines whether CPU should be throttled
322 or not outside of requests.
323 type: boolean
324 limits:
325 additionalProperties:
326 type: string
327 description: 'Only memory and CPU are supported. Note:
328 The only supported values for CPU are ''1'', ''2'',
329 and ''4''. Setting 4 CPU requires at least 2Gi of
330 memory. The values of the map is string form of the
331 ''quantity'' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go'
332 type: object
333 type: object
334 volumeMounts:
335 description: Volume to mount into the container's filesystem.
336 items:
337 properties:
338 mountPath:
339 description: Required. Path within the container at
340 which the volume should be mounted. Must not contain
341 ':'. For Cloud SQL volumes, it can be left empty,
342 or must otherwise be `/cloudsql`. All instances
343 defined in the Volume will be available as `/cloudsql/[instance]`.
344 For more information on Cloud SQL volumes, visit
345 https://cloud.google.com/sql/docs/mysql/connect-run
346 type: string
347 name:
348 description: Required. This must match the Name of
349 a Volume.
350 type: string
351 required:
352 - mountPath
353 - name
354 type: object
355 type: array
356 required:
357 - image
358 type: object
359 type: array
360 executionEnvironment:
361 description: 'The sandbox environment to host this Revision. Possible
362 values: EXECUTION_ENVIRONMENT_UNSPECIFIED, EXECUTION_ENVIRONMENT_GEN1,
363 EXECUTION_ENVIRONMENT_GEN2'
364 type: string
365 labels:
366 additionalProperties:
367 type: string
368 description: KRM-style labels for the resource.
369 type: object
370 revision:
371 description: The unique name for the revision. If this field is
372 omitted, it will be automatically generated based on the Service
373 name.
374 type: string
375 scaling:
376 description: Scaling settings for this Revision.
377 properties:
378 maxInstanceCount:
379 description: Maximum number of serving instances that this
380 resource should have.
381 format: int64
382 type: integer
383 minInstanceCount:
384 description: Minimum number of serving instances that this
385 resource should have.
386 format: int64
387 type: integer
388 type: object
389 serviceAccountRef:
390 oneOf:
391 - not:
392 required:
393 - external
394 required:
395 - name
396 - not:
397 anyOf:
398 - required:
399 - name
400 - required:
401 - namespace
402 required:
403 - external
404 properties:
405 external:
406 description: |-
407 Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
408
409 Allowed value: The `email` field of an `IAMServiceAccount` resource.
410 type: string
411 name:
412 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
413 type: string
414 namespace:
415 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
416 type: string
417 type: object
418 timeout:
419 description: Max allowed time for an instance to respond to a
420 request.
421 type: string
422 volumes:
423 description: A list of Volumes to make available to containers.
424 items:
425 properties:
426 cloudSqlInstance:
427 description: For Cloud SQL volumes, contains the specific
428 instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run
429 for more information on how to connect Cloud SQL and Cloud
430 Run.
431 properties:
432 instances:
433 items:
434 oneOf:
435 - not:
436 required:
437 - external
438 required:
439 - name
440 - not:
441 anyOf:
442 - required:
443 - name
444 - required:
445 - namespace
446 required:
447 - external
448 properties:
449 external:
450 description: 'Allowed value: The `instanceName`
451 field of a `SQLInstance` resource.'
452 type: string
453 name:
454 description: 'Name of the referent. More info:
455 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
456 type: string
457 namespace:
458 description: 'Namespace of the referent. More
459 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
460 type: string
461 type: object
462 type: array
463 type: object
464 name:
465 description: Required. Volume's name.
466 type: string
467 secret:
468 description: 'Secret represents a secret that should populate
469 this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret'
470 properties:
471 defaultMode:
472 description: 'Integer representation of mode bits to
473 use on created files by default. Must be a value between
474 0000 and 0777 (octal), defaulting to 0644. Directories
475 within the path are not affected by this setting.
476 Notes * Internally, a umask of 0222 will be applied
477 to any non-zero value. * This is an integer representation
478 of the mode bits. So, the octal integer value should
479 look exactly as the chmod numeric notation with a
480 leading zero. Some examples: for chmod 777 (a=rwx),
481 set to 0777 (octal) or 511 (base-10). For chmod 640
482 (u=rw,g=r), set to 0640 (octal) or 416 (base-10).
483 For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal)
484 or 493 (base-10). * This might be in conflict with
485 other options that affect the file mode, like fsGroup,
486 and the result can be other mode bits set. This might
487 be in conflict with other options that affect the
488 file mode, like fsGroup, and as a result, other mode
489 bits could be set.'
490 format: int64
491 type: integer
492 items:
493 description: If unspecified, the volume will expose
494 a file whose name is the secret, relative to VolumeMount.mount_path.
495 If specified, the key will be used as the version
496 to fetch from Cloud Secret Manager and the path will
497 be the name of the file exposed in the volume. When
498 items are defined, they must specify a path and a
499 version.
500 items:
501 properties:
502 mode:
503 description: 'Integer octal mode bits to use on
504 this file, must be a value between 01 and 0777
505 (octal). If 0 or not set, the Volume''s default
506 mode will be used. Notes * Internally, a umask
507 of 0222 will be applied to any non-zero value.
508 * This is an integer representation of the mode
509 bits. So, the octal integer value should look
510 exactly as the chmod numeric notation with a
511 leading zero. Some examples: for chmod 777 (a=rwx),
512 set to 0777 (octal) or 511 (base-10). For chmod
513 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10).
514 For chmod 755 (u=rwx,g=rx,o=rx), set to 0755
515 (octal) or 493 (base-10). * This might be in
516 conflict with other options that affect the
517 file mode, like fsGroup, and the result can
518 be other mode bits set.'
519 format: int64
520 type: integer
521 path:
522 description: Required. The relative path of the
523 secret in the container.
524 type: string
525 versionRef:
526 oneOf:
527 - not:
528 required:
529 - external
530 required:
531 - name
532 - not:
533 anyOf:
534 - required:
535 - name
536 - required:
537 - namespace
538 required:
539 - external
540 properties:
541 external:
542 description: |-
543 The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version.
544
545 Allowed value: The Google Cloud resource name of a `SecretManagerSecretVersion` resource (format: `{{name}}`).
546 type: string
547 name:
548 description: 'Name of the referent. More info:
549 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
550 type: string
551 namespace:
552 description: 'Namespace of the referent. More
553 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
554 type: string
555 type: object
556 required:
557 - path
558 type: object
559 type: array
560 secretRef:
561 oneOf:
562 - not:
563 required:
564 - external
565 required:
566 - name
567 - not:
568 anyOf:
569 - required:
570 - name
571 - required:
572 - namespace
573 required:
574 - external
575 properties:
576 external:
577 description: |-
578 Required. The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project.
579
580 Allowed value: The Google Cloud resource name of a `SecretManagerSecret` resource (format: `projects/{{project}}/secrets/{{name}}`).
581 type: string
582 name:
583 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
584 type: string
585 namespace:
586 description: 'Namespace of the referent. More info:
587 https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
588 type: string
589 type: object
590 required:
591 - secretRef
592 type: object
593 required:
594 - name
595 type: object
596 type: array
597 vpcAccess:
598 description: VPC Access configuration to use for this Revision.
599 For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
600 properties:
601 connectorRef:
602 oneOf:
603 - not:
604 required:
605 - external
606 required:
607 - name
608 - not:
609 anyOf:
610 - required:
611 - name
612 - required:
613 - namespace
614 required:
615 - external
616 properties:
617 external:
618 description: |-
619 VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}
620
621 Allowed value: The Google Cloud resource name of a `VPCAccessConnector` resource (format: `projects/{{project}}/locations/{{location}}/connectors/{{name}}`).
622 type: string
623 name:
624 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
625 type: string
626 namespace:
627 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
628 type: string
629 type: object
630 egress:
631 description: 'Traffic VPC egress settings. Possible values:
632 VPC_EGRESS_UNSPECIFIED, ALL_TRAFFIC, PRIVATE_RANGES_ONLY'
633 type: string
634 type: object
635 type: object
636 traffic:
637 description: Specifies how to distribute traffic over a collection
638 of Revisions belonging to the Service. If traffic is empty or not
639 provided, defaults to 100% traffic to the latest `Ready` Revision.
640 items:
641 properties:
642 percent:
643 description: Specifies percent of the traffic to this Revision.
644 This defaults to zero if unspecified. Cloud Run currently
645 requires 100 percent for a single TrafficTarget entry.
646 format: int64
647 type: integer
648 revision:
649 description: Revision to which to send this portion of traffic,
650 if traffic allocation is by revision.
651 type: string
652 tag:
653 description: Indicates a string to be part of the URI to exclusively
654 reference this target.
655 type: string
656 type:
657 description: 'The allocation type for this traffic target. Possible
658 values: TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED, TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST,
659 TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION'
660 type: string
661 type: object
662 type: array
663 required:
664 - location
665 - projectRef
666 - template
667 type: object
668 status:
669 properties:
670 conditions:
671 description: Conditions represent the latest available observation
672 of the resource's current state.
673 items:
674 properties:
675 lastTransitionTime:
676 description: Last time the condition transitioned from one status
677 to another.
678 type: string
679 message:
680 description: Human-readable message indicating details about
681 last transition.
682 type: string
683 reason:
684 description: Unique, one-word, CamelCase reason for the condition's
685 last transition.
686 type: string
687 status:
688 description: Status is the status of the condition. Can be True,
689 False, Unknown.
690 type: string
691 type:
692 description: Type is the type of the condition.
693 type: string
694 type: object
695 type: array
696 createTime:
697 description: Output only. The creation time.
698 format: date-time
699 type: string
700 creator:
701 description: Output only. Email address of the authenticated creator.
702 type: string
703 deleteTime:
704 description: Output only. The deletion time.
705 format: date-time
706 type: string
707 etag:
708 description: Output only. A system-generated fingerprint for this
709 version of the resource. May be used to detect modification conflict
710 during updates.
711 type: string
712 expireTime:
713 description: Output only. For a deleted resource, the time after which
714 it will be permamently deleted.
715 format: date-time
716 type: string
717 labels:
718 additionalProperties:
719 type: string
720 description: Map of string keys and values that can be used to organize
721 and categorize objects. User-provided labels are shared with Google's
722 billing system, so they can be used to filter, or break down billing
723 charges by team, component, environment, state, etc. For more information,
724 visit https://cloud.google.com/resource-manager/docs/creating-managing-labels
725 or https://cloud.google.com/run/docs/configuring/labels Cloud Run
726 will populate some labels with 'run.googleapis.com' or 'serving.knative.dev'
727 namespaces. Those labels are read-only, and user changes will not
728 be preserved.
729 type: object
730 lastModifier:
731 description: Output only. Email address of the last authenticated
732 modifier.
733 type: string
734 latestCreatedRevision:
735 description: Output only. Name of the last created revision. See comments
736 in `reconciling` for additional information on reconciliation process
737 in Cloud Run.
738 type: string
739 latestReadyRevision:
740 description: Output only. Name of the latest revision that is serving
741 traffic. See comments in `reconciling` for additional information
742 on reconciliation process in Cloud Run.
743 type: string
744 observedGeneration:
745 description: ObservedGeneration is the generation of the resource
746 that was most recently observed by the Config Connector controller.
747 If this is equal to metadata.generation, then that means that the
748 current reported status reflects the most recent desired state of
749 the resource.
750 type: integer
751 reconciling:
752 description: 'Output only. Returns true if the Service is currently
753 being acted upon by the system to bring it into the desired state.
754 When a new Service is created, or an existing one is updated, Cloud
755 Run will asynchronously perform all necessary steps to bring the
756 Service to the desired serving state. This process is called reconciliation.
757 While reconciliation is in process, `observed_generation`, `latest_ready_revison`,
758 `traffic_statuses`, and `uri` will have transient values that might
759 mismatch the intended state: Once reconciliation is over (and this
760 field is false), there are two possible outcomes: reconciliation
761 succeeded and the serving state matches the Service, or there was
762 an error, and reconciliation failed. This state can be found in
763 `terminal_condition.state`. If reconciliation succeeded, the following
764 fields will match: `traffic` and `traffic_statuses`, `observed_generation`
765 and `generation`, `latest_ready_revision` and `latest_created_revision`.
766 If reconciliation failed, `traffic_statuses`, `observed_generation`,
767 and `latest_ready_revision` will have the state of the last serving
768 revision, or empty for newly created Services. Additional information
769 on the failure can be found in `terminal_condition` and `conditions`.'
770 type: boolean
771 resourceGeneration:
772 description: Output only. A number that monotonically increases every
773 time the user modifies the desired state.
774 format: int64
775 type: integer
776 terminalCondition:
777 description: Output only. The Condition of this Service, containing
778 its readiness status, and detailed error information in case it
779 did not reach a serving state. See comments in `reconciling` for
780 additional information on reconciliation process in Cloud Run.
781 properties:
782 jobReason:
783 description: 'A reason for the job condition. Possible values:
784 JOB_REASON_UNDEFINED, JOB_STATUS_SERVICE_POLLING_ERROR'
785 type: string
786 lastTransitionTime:
787 description: Last time the condition transitioned from one status
788 to another.
789 format: date-time
790 type: string
791 message:
792 description: Human readable message indicating details about the
793 current status.
794 type: string
795 reason:
796 description: 'A common (service-level) reason for this condition.
797 Possible values: COMMON_REASON_UNDEFINED, UNKNOWN, REVISION_FAILED,
798 PROGRESS_DEADLINE_EXCEEDED, CONTAINER_MISSING, CONTAINER_PERMISSION_DENIED,
799 CONTAINER_IMAGE_UNAUTHORIZED, CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED,
800 ENCRYPTION_KEY_PERMISSION_DENIED, ENCRYPTION_KEY_CHECK_FAILED,
801 SECRETS_ACCESS_CHECK_FAILED, WAITING_FOR_OPERATION, IMMEDIATE_RETRY,
802 POSTPONED_RETRY, INTERNAL'
803 type: string
804 revisionReason:
805 description: 'A reason for the revision condition. Possible values:
806 REVISION_REASON_UNDEFINED, PENDING, RESERVE, RETIRED, RETIRING,
807 RECREATING, HEALTH_CHECK_CONTAINER_ERROR, CUSTOMIZED_PATH_RESPONSE_PENDING,
808 MIN_INSTANCES_NOT_PROVISIONED, ACTIVE_REVISION_LIMIT_REACHED,
809 NO_DEPLOYMENT'
810 type: string
811 severity:
812 description: 'How to interpret failures of this condition, one
813 of Error, Warning, Info Possible values: SEVERITY_UNSPECIFIED,
814 ERROR, WARNING, INFO'
815 type: string
816 state:
817 description: 'State of the condition. Possible values: STATE_UNSPECIFIED,
818 CONDITION_PENDING, CONDITION_RECONCILING, CONDITION_FAILED,
819 CONDITION_SUCCEEDED'
820 type: string
821 type:
822 description: 'type is used to communicate the status of the reconciliation
823 process. See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting
824 Types common to all resources include: * "Ready": True when
825 the Resource is ready.'
826 type: string
827 type: object
828 trafficStatuses:
829 description: Output only. Detailed status information for corresponding
830 traffic targets. See comments in `reconciling` for additional information
831 on reconciliation process in Cloud Run.
832 items:
833 properties:
834 percent:
835 description: Specifies percent of the traffic to this Revision.
836 format: int64
837 type: integer
838 revision:
839 description: Revision to which this traffic is sent.
840 type: string
841 tag:
842 description: Indicates the string used in the URI to exclusively
843 reference this target.
844 type: string
845 type:
846 description: 'The allocation type for this traffic target. Possible
847 values: TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED, TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST,
848 TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION'
849 type: string
850 uri:
851 description: Displays the target URI.
852 type: string
853 type: object
854 type: array
855 uid:
856 description: Output only. Server assigned unique identifier for the
857 trigger. The value is a UUID4 string and guaranteed to remain unchanged
858 until the resource is deleted.
859 type: string
860 updateTime:
861 description: Output only. The last-modified time.
862 format: date-time
863 type: string
864 uri:
865 description: Output only. The main URI in which this Service is serving
866 traffic.
867 type: string
868 type: object
869 required:
870 - spec
871 type: object
872 served: true
873 storage: true
874 subresources:
875 status: {}
876status:
877 acceptedNames:
878 kind: ""
879 plural: ""
880 conditions: []
881 storedVersions: []
View as plain text