Skip to content

Commit

Permalink
cloudrunv2: Validate number of ports specified restricting to 1. (Goo…
Browse files Browse the repository at this point in the history
…gleCloudPlatform#10173)

* cloudrunv2: Validate number of ports specified restricting to 1.

* Update mmv1/products/cloudrunv2/Service.yaml
  • Loading branch information
aebrahim authored and cmfeng committed Apr 5, 2024
1 parent bcf5426 commit d792d7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mmv1/products/cloudrunv2/Service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,7 @@ properties:
Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.
- !ruby/object:Api::Type::Array
name: 'ports'
max_size: 1
description: |-
List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
Expand Down

0 comments on commit d792d7b

Please sign in to comment.