Marketplace
BrowsePublish
Marketplace
You are viewing an outdated version of provider-gcp.Go to Latest
upbound/provider-gcp@v0.41.2
V2Service
cloudrun.gcp.upbound.io
V2Service
upbound/provider-gcp@v0.41.2cloudrun.gcp.upbound.io

V2Service is the Schema for the V2Services API. Service acts as a top-level container that manages a set of configurations and revision templates which implement a network service.

Type

CRD

Group

cloudrun.gcp.upbound.io

Version

v1beta1

apiVersion: cloudrun.gcp.upbound.io/v1beta1

kind: V2Service

API Documentation
apiVersion
string
kind
string
metadata
object
spec
object
object

V2ServiceSpec defines the desired state of V2Service

forProvider
requiredobject
requiredobject

No description provided.

array

Settings for the Binary Authorization feature. Structure is documented below.

client
string
ingress
string
labels
object
location
string
project
string
array

The template used to create revisions for this Service. Structure is documented below.

array

Holds the containers that define the unit of execution for this Service. Structure is documented below.

args
array
array

Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether 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

command
array
array

Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether 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

env
array
array

List of environment variables to set in the container. Structure is documented below.

name
string
value
string
array

Source for the environment variable's value. Structure is documented below.

array

Selects a secret and a specific version from Cloud Secret Manager. Structure is documented below.

secret
string
secretRef
object
object

Reference to a Secret in secretmanager to populate secret.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a Secret in secretmanager to populate secret.

policy
object
object

Policies for selection.

resolve
string
version
string
image
string
array

Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes Structure is documented below.

grpc
array
array

GRPC specifies an action involving a GRPC port. Structure is documented below.

port
number
service
string
httpGet
array
array

HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified. Structure is documented below.

array

Custom headers to set in the request. HTTP allows repeated headers. Structure is documented below.

name
string
value
string
path
string
port
number
array

TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified. Structure is documented below.

port
number
name
string
ports
array
array

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. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on Structure is documented below.

name
string
array

Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources Structure is documented below.

cpuIdle
boolean
limits
object
array

Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes Structure is documented below.

grpc
array
array

GRPC specifies an action involving a GRPC port. Structure is documented below.

port
number
service
string
httpGet
array
array

HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified. Structure is documented below.

array

Custom headers to set in the request. HTTP allows repeated headers. Structure is documented below.

name
string
value
string
path
string
port
number
array

TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified. Structure is documented below.

port
number
array

Volume to mount into the container's filesystem. Structure is documented below.

mountPath
string
name
string
labels
object
revision
string
scaling
array
array

Scaling settings for this Revision. Structure is documented below.

timeout
string
volumes
array
array

A list of Volumes to make available to containers. Structure is documented below.

array

For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Structure is documented below.

array

The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}

name
string
secret
array
array

Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret Structure is documented below.

items
array
array

If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version. Structure is documented below.

mode
number
path
string
version
string
secret
string
secretRef
object
object

Reference to a Secret in secretmanager to populate secret.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a Secret in secretmanager to populate secret.

policy
object
object

Policies for selection.

resolve
string
array

VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc. Structure is documented below.

connector
string
egress
string
traffic
array
array

Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest Ready Revision. Structure is documented below.

percent
number
revision
string
tag
string
type
string
object

THIS IS A BETA FIELD. It will be honored unless the Management Policies feature flag is disabled. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.

array

Settings for the Binary Authorization feature. Structure is documented below.

client
string
ingress
string
labels
object
project
string
array

The template used to create revisions for this Service. Structure is documented below.

array

Holds the containers that define the unit of execution for this Service. Structure is documented below.

args
array
array

Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether 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

command
array
array

Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether 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

env
array
array

List of environment variables to set in the container. Structure is documented below.

name
string
value
string
array

Source for the environment variable's value. Structure is documented below.

array

Selects a secret and a specific version from Cloud Secret Manager. Structure is documented below.

secret
string
secretRef
object
object

Reference to a Secret in secretmanager to populate secret.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a Secret in secretmanager to populate secret.

policy
object
object

Policies for selection.

resolve
string
version
string
image
string
array

Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes Structure is documented below.

grpc
array
array

GRPC specifies an action involving a GRPC port. Structure is documented below.

port
number
service
string
httpGet
array
array

HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified. Structure is documented below.

array

Custom headers to set in the request. HTTP allows repeated headers. Structure is documented below.

name
string
value
string
path
string
port
number
array

TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified. Structure is documented below.

port
number
name
string
ports
array
array

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. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on Structure is documented below.

name
string
array

Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources Structure is documented below.

cpuIdle
boolean
limits
object
array

Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes Structure is documented below.

grpc
array
array

GRPC specifies an action involving a GRPC port. Structure is documented below.

port
number
service
string
httpGet
array
array

HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified. Structure is documented below.

array

Custom headers to set in the request. HTTP allows repeated headers. Structure is documented below.

name
string
value
string
path
string
port
number
array

TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified. Structure is documented below.

port
number
array

Volume to mount into the container's filesystem. Structure is documented below.

mountPath
string
name
string
labels
object
revision
string
scaling
array
array

Scaling settings for this Revision. Structure is documented below.

timeout
string
volumes
array
array

A list of Volumes to make available to containers. Structure is documented below.

array

For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Structure is documented below.

array

The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}

name
string
secret
array
array

Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret Structure is documented below.

items
array
array

If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version. Structure is documented below.

mode
number
path
string
version
string
secret
string
secretRef
object
object

Reference to a Secret in secretmanager to populate secret.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a Secret in secretmanager to populate secret.

policy
object
object

Policies for selection.

resolve
string
array

VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc. Structure is documented below.

connector
string
egress
string
traffic
array
array

Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest Ready Revision. Structure is documented below.

percent
number
revision
string
tag
string
type
string
array

THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md

object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.

configRef
object
object

SecretStoreConfigRef specifies which secret store config should be used for this ConnectionSecret.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
metadata
object
object

Metadata is the metadata for connection secret.

labels
object
type
string
name
requiredstring
object

WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.

name
requiredstring
namespace
requiredstring
status
object
object

V2ServiceStatus defines the observed state of V2Service.

object

No description provided.

array

Settings for the Binary Authorization feature. Structure is documented below.

client
string
array

The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in reconciling for additional information on reconciliation process in Cloud Run. Structure is documented below.

etag
string
id
string
ingress
string
labels
object
location
string
project
string
array

The template used to create revisions for this Service. Structure is documented below.

array

Holds the containers that define the unit of execution for this Service. Structure is documented below.

args
array
array

Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether 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

command
array
array

Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether 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

env
array
array

List of environment variables to set in the container. Structure is documented below.

name
string
value
string
array

Source for the environment variable's value. Structure is documented below.

array

Selects a secret and a specific version from Cloud Secret Manager. Structure is documented below.

secret
string
version
string
image
string
array

Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes Structure is documented below.

grpc
array
array

GRPC specifies an action involving a GRPC port. Structure is documented below.

port
number
service
string
httpGet
array
array

HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified. Structure is documented below.

array

Custom headers to set in the request. HTTP allows repeated headers. Structure is documented below.

name
string
value
string
path
string
port
number
array

TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified. Structure is documented below.

port
number
name
string
ports
array
array

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. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on Structure is documented below.

name
string
array

Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources Structure is documented below.

cpuIdle
boolean
limits
object
array

Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes Structure is documented below.

grpc
array
array

GRPC specifies an action involving a GRPC port. Structure is documented below.

port
number
service
string
httpGet
array
array

HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified. Structure is documented below.

array

Custom headers to set in the request. HTTP allows repeated headers. Structure is documented below.

name
string
value
string
path
string
port
number
array

TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified. Structure is documented below.

port
number
array

Volume to mount into the container's filesystem. Structure is documented below.

mountPath
string
name
string
labels
object
revision
string
scaling
array
array

Scaling settings for this Revision. Structure is documented below.

timeout
string
volumes
array
array

A list of Volumes to make available to containers. Structure is documented below.

array

For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Structure is documented below.

array

The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance}

name
string
secret
array
array

Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret Structure is documented below.

items
array
array

If unspecified, the volume will expose a file whose name is the secret, relative to VolumeMount.mount_path. If specified, the key will be used as the version to fetch from Cloud Secret Manager and the path will be the name of the file exposed in the volume. When items are defined, they must specify a path and a version. Structure is documented below.

mode
number
path
string
version
string
secret
string
array

VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc. Structure is documented below.

connector
string
egress
string
array

The Condition of this Service, containing its readiness status, and detailed error information in case it did not reach a serving state. See comments in reconciling for additional information on reconciliation process in Cloud Run. Structure is documented below.

traffic
array
array

Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest Ready Revision. Structure is documented below.

percent
number
revision
string
tag
string
type
string
array

Detailed status information for corresponding traffic targets. See comments in reconciling for additional information on reconciliation process in Cloud Run. Structure is documented below.

percent
number
revision
string
tag
string
type
string
uri
string
uid
string
uri
string
array

Conditions of the resource.

lastTransitionTime
requiredstring
message
string
reason
requiredstring
status
requiredstring
type
requiredstring
Marketplace

Discover the building blocks for your internal cloud platform.

© 2022 Upbound, Inc.

SolutionsProvidersConfigurations
LearnDocumentationTry for Free
MorePrivacy PolicyTerms & Conditions
Marketplace

© 2022 Upbound, Inc.

Marketplace

Discover the building blocksfor your internal cloud platform.