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

V2Job is the Schema for the V2Jobs API. A Cloud Run Job resource that references a container image which is run to completion.

Type

CRD

Group

cloudrun.gcp.upbound.io

Version

v1beta1

apiVersion: cloudrun.gcp.upbound.io/v1beta1

kind: V2Job

API Documentation
apiVersion
string
kind
string
metadata
object
spec
object
object

V2JobSpec defines the desired state of V2Job

forProvider
requiredobject
requiredobject

No description provided.

array

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

client
string
labels
object
location
string
project
string
array

The template used to create executions for this Job. Structure is documented below.

labels
object
taskCount
number
array

Describes the task(s) that will be created when executing an execution Structure is documented below.

array

Holds the single container that defines the unit of execution for this task. 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 This field is not supported in Cloud Run Job currently. Structure is documented below.

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
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.

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 This field is not supported in Cloud Run Job currently. Structure is documented below.

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
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
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
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
labels
object
project
string
array

The template used to create executions for this Job. Structure is documented below.

labels
object
taskCount
number
array

Describes the task(s) that will be created when executing an execution Structure is documented below.

array

Holds the single container that defines the unit of execution for this task. 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 This field is not supported in Cloud Run Job currently. Structure is documented below.

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
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.

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 This field is not supported in Cloud Run Job currently. Structure is documented below.

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
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
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
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

V2JobStatus defines the observed state of V2Job.

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 Job does not reach its desired state. See comments in reconciling for additional information on reconciliation process in Cloud Run. Structure is documented below.

etag
string
id
string
labels
object
array

Name of the last created execution. Structure is documented below.

location
string
project
string
array

The template used to create executions for this Job. Structure is documented below.

labels
object
taskCount
number
array

Describes the task(s) that will be created when executing an execution Structure is documented below.

array

Holds the single container that defines the unit of execution for this task. 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 This field is not supported in Cloud Run Job currently. Structure is documented below.

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
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.

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 This field is not supported in Cloud Run Job currently. Structure is documented below.

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
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
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 Job, containing its readiness status, and detailed error information in case it did not reach the desired state Structure is documented below.

uid
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.