Environments
CreateEnvironment
CreateEnvironmentAccessToken
CreateEnvironmentFromProject
CreateEnvironmentLogsToken
DeleteEnvironment
ListEnvironments
MarkEnvironmentActive
GetEnvironment
StartEnvironment
StopEnvironment
UnarchiveEnvironment
UpdateEnvironment
ModelsExpand Collapse
type Environment struct{…}+resource get environment
+resource get environment
ID is a unique identifier of this environment. No other environment with the same name must be managed by this environment manager
Metadata is data associated with this environment that’s required for other
parts of Gitpod to function
Metadata is data associated with this environment that’s required for other parts of Gitpod to function
annotations are key/value pairs that gets attached to the environment. +internal - not yet implemented
Time when the Environment was archived. If not set, the environment is not archived.
creator is the identity of the creator of the environment
creator is the identity of the creator of the environment
Time when the Environment was last started (i.e. CreateEnvironment or StartEnvironment were called).
lockdown_at is the time at which the environment becomes locked down due to the organization’s maximum environment lifetime policy. Nil when no lifetime policy applies.
organization_id is the ID of the organization that contains the environment
original_context_url is the normalized URL from which the environment was created
prebuild_id is the ID of the prebuild this environment was created from. Only set if the environment was created from a prebuild.
If the Environment was started from a project, the project_id will reference the project.
Spec is the configuration of the environment that’s required for the
runner to start the environment
Spec is the configuration of the environment that’s required for the runner to start the environment
AutomationsFile EnvironmentSpecAutomationsFileOptionalautomations_file is the automations file spec of the environment
automations_file is the automations file spec of the environment
automations_file_path is the path to the automations file that is applied in the environment, relative to the repo root. path must not be absolute (start with a /):
this.matches('^$|^[^/].*')Content EnvironmentSpecContentOptionalcontent is the content spec of the environment
content is the content spec of the environment
initializer configures how the environment is to be initialized
initializer configures how the environment is to be initialized
Specs []EnvironmentInitializerSpecOptional
Git EnvironmentInitializerSpecsGitOptional
a path relative to the environment root in which the code will be checked out to
TargetMode EnvironmentInitializerSpecsGitTargetModeOptionalthe target mode determines what gets checked out
the target mode determines what gets checked out
Devcontainer EnvironmentSpecDevcontainerOptionaldevcontainer is the devcontainer spec of the environment
devcontainer is the devcontainer spec of the environment
default_devcontainer_image is the default image that is used to start the devcontainer if no devcontainer config file is found
devcontainer_file_path is the path to the devcontainer file relative to the repo root path must not be absolute (start with a /):
this.matches('^$|^[^/].*')Dotfiles EnvironmentSpecDevcontainerDotfilesOptionalExperimental: dotfiles is the dotfiles configuration of the devcontainer
Experimental: dotfiles is the dotfiles configuration of the devcontainer
URL of a dotfiles Git repository (e.g. https://github.com/owner/repository)
LifecycleStage EnvironmentSpecDevcontainerLifecycleStageOptionallifecycle_stage controls which devcontainer lifecycle commands are executed.
Defaults to FULL if not specified.
lifecycle_stage controls which devcontainer lifecycle commands are executed. Defaults to FULL if not specified.
kernel_controls_config configures kernel-level controls for this environment
kernel_controls_config configures kernel-level controls for this environment
Ports []EnvironmentSpecPortOptionalports is the set of ports which ought to be exposed to your network
ports is the set of ports which ought to be exposed to your network
Secrets []EnvironmentSpecSecretOptionalsecrets are confidential data that is mounted into the environment
secrets are confidential data that is mounted into the environment
api_only indicates the secret is only available via API/CLI. These secrets are resolved but NOT automatically injected into services or devcontainers.
container_registry_basic_auth_host is the hostname of the container registry that supports basic auth
CredentialProxy EnvironmentSpecSecretsCredentialProxyOptionalcredential_proxy configures transparent credential injection via the
credential proxy. When set, the credential proxy intercepts HTTPS
traffic to the target hosts and replaces the dummy secret value with
the real value in the specified HTTP header. The real secret value is
never exposed in the environment.
This field is orthogonal to mount — a secret can be both mounted (e.g.
as a git credential) and proxied at the same time.
credential_proxy configures transparent credential injection via the credential proxy. When set, the credential proxy intercepts HTTPS traffic to the target hosts and replaces the dummy secret value with the real value in the specified HTTP header. The real secret value is never exposed in the environment. This field is orthogonal to mount — a secret can be both mounted (e.g. as a git credential) and proxied at the same time.
Format EnvironmentSpecSecretsCredentialProxyFormatOptionalformat describes how the secret value is encoded. The proxy uses
this to decode the value before injecting it into the header.
format describes how the secret value is encoded. The proxy uses this to decode the value before injecting it into the header.
Scope EnvironmentSpecSecretsScopeOptionalscope indicates where this secret originated from.
Used to filter secrets during build (only org and project secrets are injected).
scope indicates where this secret originated from. Used to filter secrets during build (only org and project secrets are injected).
version of the spec. The value of this field has no semantic meaning (e.g. don’t interpret it as as a timestamp), but it can be used to impose a partial order. If a.spec_version < b.spec_version then a was the spec before b.
SSHPublicKeys []EnvironmentSpecSSHPublicKeyOptionalssh_public_keys are the public keys used to ssh into the environment
ssh_public_keys are the public keys used to ssh into the environment
Status is the current status of the environment
Status is the current status of the environment
activity_signal is the last activity signal for the environment.
activity_signal is the last activity signal for the environment.
AutomationsFile EnvironmentStatusAutomationsFileOptionalautomations_file contains the status of the automations file.
automations_file contains the status of the automations file.
automations_file_path is the path to the automations file relative to the repo root.
AutomationsFilePresence EnvironmentStatusAutomationsFileAutomationsFilePresenceOptionalautomations_file_presence indicates how an automations file is present in the environment.
automations_file_presence indicates how an automations file is present in the environment.
failure_message contains the reason the automations file failed to be applied. This is only set if the phase is FAILED.
Phase EnvironmentStatusAutomationsFilePhaseOptionalphase is the current phase of the automations file.
phase is the current phase of the automations file.
Content EnvironmentStatusContentOptionalcontent contains the status of the environment content.
content contains the status of the environment content.
content_location_in_machine is the location of the content in the machine
Git EnvironmentStatusContentGitOptionalgit is the Git working copy status of the environment.
Note: this is a best-effort field and more often than not will not be
present. Its absence does not indicate the absence of a working copy.
git is the Git working copy status of the environment. Note: this is a best-effort field and more often than not will not be present. Its absence does not indicate the absence of a working copy.
ChangedFiles []EnvironmentStatusContentGitChangedFileOptionalchanged_files is an array of changed files in the environment, possibly
truncated
changed_files is an array of changed files in the environment, possibly truncated
ChangeType EnvironmentStatusContentGitChangedFilesChangeTypeOptionalChangeType is the type of change that happened to the file
ChangeType is the type of change that happened to the file
Phase EnvironmentStatusContentPhaseOptionalphase is the current phase of the environment content
phase is the current phase of the environment content
Devcontainer EnvironmentStatusDevcontainerOptionaldevcontainer contains the status of the devcontainer.
devcontainer contains the status of the devcontainer.
container_name is the name of the container that is used to connect to the devcontainer
devcontainerconfig_in_sync indicates if the devcontainer is up to date w.r.t. the devcontainer config file.
devcontainer_file_path is the path to the devcontainer file relative to the repo root
DevcontainerFilePresence EnvironmentStatusDevcontainerDevcontainerFilePresenceOptionaldevcontainer_file_presence indicates how the devcontainer file is present in the repo.
devcontainer_file_presence indicates how the devcontainer file is present in the repo.
failure_message contains the reason the devcontainer failed to operate.
Phase EnvironmentStatusDevcontainerPhaseOptionalphase is the current phase of the devcontainer
phase is the current phase of the devcontainer
remote_workspace_folder is the folder that is used to connect to the devcontainer
EnvironmentURLs EnvironmentStatusEnvironmentURLsOptionalenvironment_url contains the URL at which the environment can be accessed.
This field is only set if the environment is running.
environment_url contains the URL at which the environment can be accessed. This field is only set if the environment is running.
failure_message summarises why the environment failed to operate. If this is non-empty the environment has failed to operate and will likely transition to a stopped state.
Machine EnvironmentStatusMachineOptionalmachine contains the status of the environment machine
machine contains the status of the environment machine
Phase EnvironmentStatusMachinePhaseOptionalphase is the current phase of the environment machine
phase is the current phase of the environment machine
timeout contains the reason the environment has timed out. If this field is empty, the environment has not timed out.
the phase of an environment is a simple, high-level summary of where the
environment is in its lifecycle
the phase of an environment is a simple, high-level summary of where the environment is in its lifecycle
RunnerAck EnvironmentStatusRunnerAckOptionalrunner_ack contains the acknowledgement from the runner that is has
received the environment spec.
runner_ack contains the acknowledgement from the runner that is has received the environment spec.
StatusCode EnvironmentStatusRunnerAckStatusCodeOptional
Secrets []EnvironmentStatusSecretOptionalsecrets contains the status of the environment secrets
secrets contains the status of the environment secrets
failure_message contains the reason the secret failed to be materialize.
Phase EnvironmentStatusSecretsPhaseOptional
SSHPublicKeys []EnvironmentStatusSSHPublicKeyOptionalssh_public_keys contains the status of the environment ssh public keys
ssh_public_keys contains the status of the environment ssh public keys
Phase EnvironmentStatusSSHPublicKeysPhaseOptionalphase is the current phase of the public key
phase is the current phase of the public key
version of the status update. Environment instances themselves are unversioned, but their status has different versions. The value of this field has no semantic meaning (e.g. don’t interpret it as as a timestamp), but it can be used to impose a partial order. If a.status_version < b.status_version then a was the status before b.
type EnvironmentActivitySignal struct{…}EnvironmentActivitySignal used to signal activity for an environment.
EnvironmentActivitySignal used to signal activity for an environment.
type EnvironmentMetadata struct{…}EnvironmentMetadata is data associated with an environment that’s required for
other parts of the system to function
EnvironmentMetadata is data associated with an environment that’s required for other parts of the system to function
annotations are key/value pairs that gets attached to the environment. +internal - not yet implemented
Time when the Environment was archived. If not set, the environment is not archived.
creator is the identity of the creator of the environment
creator is the identity of the creator of the environment
Time when the Environment was last started (i.e. CreateEnvironment or StartEnvironment were called).
lockdown_at is the time at which the environment becomes locked down due to the organization’s maximum environment lifetime policy. Nil when no lifetime policy applies.
organization_id is the ID of the organization that contains the environment
original_context_url is the normalized URL from which the environment was created
prebuild_id is the ID of the prebuild this environment was created from. Only set if the environment was created from a prebuild.
If the Environment was started from a project, the project_id will reference the project.
type EnvironmentSpec struct{…}EnvironmentSpec specifies the configuration of an environment for an environment
start
EnvironmentSpec specifies the configuration of an environment for an environment start
AutomationsFile EnvironmentSpecAutomationsFileOptionalautomations_file is the automations file spec of the environment
automations_file is the automations file spec of the environment
automations_file_path is the path to the automations file that is applied in the environment, relative to the repo root. path must not be absolute (start with a /):
this.matches('^$|^[^/].*')Content EnvironmentSpecContentOptionalcontent is the content spec of the environment
content is the content spec of the environment
initializer configures how the environment is to be initialized
initializer configures how the environment is to be initialized
Specs []EnvironmentInitializerSpecOptional
Git EnvironmentInitializerSpecsGitOptional
a path relative to the environment root in which the code will be checked out to
TargetMode EnvironmentInitializerSpecsGitTargetModeOptionalthe target mode determines what gets checked out
the target mode determines what gets checked out
Devcontainer EnvironmentSpecDevcontainerOptionaldevcontainer is the devcontainer spec of the environment
devcontainer is the devcontainer spec of the environment
default_devcontainer_image is the default image that is used to start the devcontainer if no devcontainer config file is found
devcontainer_file_path is the path to the devcontainer file relative to the repo root path must not be absolute (start with a /):
this.matches('^$|^[^/].*')Dotfiles EnvironmentSpecDevcontainerDotfilesOptionalExperimental: dotfiles is the dotfiles configuration of the devcontainer
Experimental: dotfiles is the dotfiles configuration of the devcontainer
URL of a dotfiles Git repository (e.g. https://github.com/owner/repository)
LifecycleStage EnvironmentSpecDevcontainerLifecycleStageOptionallifecycle_stage controls which devcontainer lifecycle commands are executed.
Defaults to FULL if not specified.
lifecycle_stage controls which devcontainer lifecycle commands are executed. Defaults to FULL if not specified.
kernel_controls_config configures kernel-level controls for this environment
kernel_controls_config configures kernel-level controls for this environment
Ports []EnvironmentSpecPortOptionalports is the set of ports which ought to be exposed to your network
ports is the set of ports which ought to be exposed to your network
Secrets []EnvironmentSpecSecretOptionalsecrets are confidential data that is mounted into the environment
secrets are confidential data that is mounted into the environment
api_only indicates the secret is only available via API/CLI. These secrets are resolved but NOT automatically injected into services or devcontainers.
container_registry_basic_auth_host is the hostname of the container registry that supports basic auth
CredentialProxy EnvironmentSpecSecretsCredentialProxyOptionalcredential_proxy configures transparent credential injection via the
credential proxy. When set, the credential proxy intercepts HTTPS
traffic to the target hosts and replaces the dummy secret value with
the real value in the specified HTTP header. The real secret value is
never exposed in the environment.
This field is orthogonal to mount — a secret can be both mounted (e.g.
as a git credential) and proxied at the same time.
credential_proxy configures transparent credential injection via the credential proxy. When set, the credential proxy intercepts HTTPS traffic to the target hosts and replaces the dummy secret value with the real value in the specified HTTP header. The real secret value is never exposed in the environment. This field is orthogonal to mount — a secret can be both mounted (e.g. as a git credential) and proxied at the same time.
Format EnvironmentSpecSecretsCredentialProxyFormatOptionalformat describes how the secret value is encoded. The proxy uses
this to decode the value before injecting it into the header.
format describes how the secret value is encoded. The proxy uses this to decode the value before injecting it into the header.
Scope EnvironmentSpecSecretsScopeOptionalscope indicates where this secret originated from.
Used to filter secrets during build (only org and project secrets are injected).
scope indicates where this secret originated from. Used to filter secrets during build (only org and project secrets are injected).
version of the spec. The value of this field has no semantic meaning (e.g. don’t interpret it as as a timestamp), but it can be used to impose a partial order. If a.spec_version < b.spec_version then a was the spec before b.
SSHPublicKeys []EnvironmentSpecSSHPublicKeyOptionalssh_public_keys are the public keys used to ssh into the environment
ssh_public_keys are the public keys used to ssh into the environment
type EnvironmentStatus struct{…}EnvironmentStatus describes an environment status
EnvironmentStatus describes an environment status
activity_signal is the last activity signal for the environment.
activity_signal is the last activity signal for the environment.
AutomationsFile EnvironmentStatusAutomationsFileOptionalautomations_file contains the status of the automations file.
automations_file contains the status of the automations file.
automations_file_path is the path to the automations file relative to the repo root.
AutomationsFilePresence EnvironmentStatusAutomationsFileAutomationsFilePresenceOptionalautomations_file_presence indicates how an automations file is present in the environment.
automations_file_presence indicates how an automations file is present in the environment.
failure_message contains the reason the automations file failed to be applied. This is only set if the phase is FAILED.
Phase EnvironmentStatusAutomationsFilePhaseOptionalphase is the current phase of the automations file.
phase is the current phase of the automations file.
Content EnvironmentStatusContentOptionalcontent contains the status of the environment content.
content contains the status of the environment content.
content_location_in_machine is the location of the content in the machine
Git EnvironmentStatusContentGitOptionalgit is the Git working copy status of the environment.
Note: this is a best-effort field and more often than not will not be
present. Its absence does not indicate the absence of a working copy.
git is the Git working copy status of the environment. Note: this is a best-effort field and more often than not will not be present. Its absence does not indicate the absence of a working copy.
ChangedFiles []EnvironmentStatusContentGitChangedFileOptionalchanged_files is an array of changed files in the environment, possibly
truncated
changed_files is an array of changed files in the environment, possibly truncated
ChangeType EnvironmentStatusContentGitChangedFilesChangeTypeOptionalChangeType is the type of change that happened to the file
ChangeType is the type of change that happened to the file
Phase EnvironmentStatusContentPhaseOptionalphase is the current phase of the environment content
phase is the current phase of the environment content
Devcontainer EnvironmentStatusDevcontainerOptionaldevcontainer contains the status of the devcontainer.
devcontainer contains the status of the devcontainer.
container_name is the name of the container that is used to connect to the devcontainer
devcontainerconfig_in_sync indicates if the devcontainer is up to date w.r.t. the devcontainer config file.
devcontainer_file_path is the path to the devcontainer file relative to the repo root
DevcontainerFilePresence EnvironmentStatusDevcontainerDevcontainerFilePresenceOptionaldevcontainer_file_presence indicates how the devcontainer file is present in the repo.
devcontainer_file_presence indicates how the devcontainer file is present in the repo.
failure_message contains the reason the devcontainer failed to operate.
Phase EnvironmentStatusDevcontainerPhaseOptionalphase is the current phase of the devcontainer
phase is the current phase of the devcontainer
remote_workspace_folder is the folder that is used to connect to the devcontainer
EnvironmentURLs EnvironmentStatusEnvironmentURLsOptionalenvironment_url contains the URL at which the environment can be accessed.
This field is only set if the environment is running.
environment_url contains the URL at which the environment can be accessed. This field is only set if the environment is running.
failure_message summarises why the environment failed to operate. If this is non-empty the environment has failed to operate and will likely transition to a stopped state.
Machine EnvironmentStatusMachineOptionalmachine contains the status of the environment machine
machine contains the status of the environment machine
Phase EnvironmentStatusMachinePhaseOptionalphase is the current phase of the environment machine
phase is the current phase of the environment machine
timeout contains the reason the environment has timed out. If this field is empty, the environment has not timed out.
the phase of an environment is a simple, high-level summary of where the
environment is in its lifecycle
the phase of an environment is a simple, high-level summary of where the environment is in its lifecycle
RunnerAck EnvironmentStatusRunnerAckOptionalrunner_ack contains the acknowledgement from the runner that is has
received the environment spec.
runner_ack contains the acknowledgement from the runner that is has received the environment spec.
StatusCode EnvironmentStatusRunnerAckStatusCodeOptional
Secrets []EnvironmentStatusSecretOptionalsecrets contains the status of the environment secrets
secrets contains the status of the environment secrets
failure_message contains the reason the secret failed to be materialize.
Phase EnvironmentStatusSecretsPhaseOptional
SSHPublicKeys []EnvironmentStatusSSHPublicKeyOptionalssh_public_keys contains the status of the environment ssh public keys
ssh_public_keys contains the status of the environment ssh public keys
Phase EnvironmentStatusSSHPublicKeysPhaseOptionalphase is the current phase of the public key
phase is the current phase of the public key
version of the status update. Environment instances themselves are unversioned, but their status has different versions. The value of this field has no semantic meaning (e.g. don’t interpret it as as a timestamp), but it can be used to impose a partial order. If a.status_version < b.status_version then a was the status before b.
EnvironmentsAutomations
UpsertAutomationsFile
ModelsExpand Collapse
type AutomationsFile struct{…}WARN: Do not remove any field here, as it will break reading automation yaml files. We error if there are any
unknown fields in the yaml (to ensure the yaml is correct), but would break if we removed any fields.
This includes marking a field as “reserved” in the proto file, this will also break reading the yaml.
WARN: Do not remove any field here, as it will break reading automation yaml files. We error if there are any unknown fields in the yaml (to ensure the yaml is correct), but would break if we removed any fields. This includes marking a field as “reserved” in the proto file, this will also break reading the yaml.
Services map[string, AutomationsFileService]Optional
Commands AutomationsFileServicesCommandsOptional
ready is an optional command that is run repeatedly until it exits with a zero exit code. If set, the service will first go into a Starting phase, and then into a Running phase once the ready command exits with a zero exit code.
start is the command to start and run the service. If start exits, the service will transition to the following phase:
- Stopped: if the exit code is 0
- Failed: if the exit code is not 0 If the stop command is not set, the start command will receive a SIGTERM signal when the service is requested to stop. If it does not exit within 2 minutes, it will receive a SIGKILL signal.
stop is an optional command that runs when the service is requested to stop. If set, instead of sending a SIGTERM signal to the start command, the stop command will be run. Once the stop command exits, the start command will receive a SIGKILL signal. If the stop command exits with a non-zero exit code, the service will transition to the Failed phase. If the stop command does not exit within 2 minutes, a SIGKILL signal will be sent to both the start and stop commands.
TriggeredBy []AutomationsFileServicesTriggeredByOptional
Tasks map[string, AutomationsFileTask]Optional
TriggeredBy []AutomationsFileTasksTriggeredByOptional
EnvironmentsAutomationsServices
CreateService
DeleteService
ListServices
GetService
StartService
StopService
UpdateService
ModelsExpand Collapse
type Service struct{…}
creator describes the principal who created the service.
creator describes the principal who created the service.
description is a user-facing description for the service. It can be used to provide context and documentation for the service.
name is a user-facing name for the service. Unlike the reference, this field is not unique, and not referenced by the system. This is a short descriptive name for the service.
reference is a user-facing identifier for the service which must be unique on the environment. It is used to express dependencies between services, and to identify the service in user interactions (e.g. the CLI).
Commands ServiceSpecCommandsOptionalcommands contains the commands to start, stop and check the readiness of the service
commands contains the commands to start, stop and check the readiness of the service
ready is an optional command that is run repeatedly until it exits with a zero exit code. If set, the service will first go into a Starting phase, and then into a Running phase once the ready command exits with a zero exit code.
start is the command to start and run the service. If start exits, the service will transition to the following phase:
- Stopped: if the exit code is 0
- Failed: if the exit code is not 0 If the stop command is not set, the start command will receive a SIGTERM signal when the service is requested to stop. If it does not exit within 2 minutes, it will receive a SIGKILL signal.
stop is an optional command that runs when the service is requested to stop. If set, instead of sending a SIGTERM signal to the start command, the stop command will be run. Once the stop command exits, the start command will receive a SIGKILL signal. If the stop command exits with a non-zero exit code, the service will transition to the Failed phase. If the stop command does not exit within 2 minutes, a SIGKILL signal will be sent to both the start and stop commands.
desired_phase is the phase the service should be in. Used to start or stop the service.
desired_phase is the phase the service should be in. Used to start or stop the service.
env specifies environment variables for the service.
env specifies environment variables for the service.
value_from specifies a source for the value.
value_from specifies a source for the value.
SecretRef SecretRefsecret_ref references a secret by ID.
secret_ref references a secret by ID.
failure_message summarises why the service failed to operate. If this is non-empty the service has failed to operate and will likely transition to a failed state.
output contains the output of the service. setting an output field to empty string will unset it.
version of the status update. Service instances themselves are unversioned, but their status has different versions. The value of this field has no semantic meaning (e.g. don’t interpret it as as a timestamp), but it can be used to impose a partial order. If a.status_version < b.status_version then a was the status before b.
type ServiceMetadata struct{…}
creator describes the principal who created the service.
creator describes the principal who created the service.
description is a user-facing description for the service. It can be used to provide context and documentation for the service.
name is a user-facing name for the service. Unlike the reference, this field is not unique, and not referenced by the system. This is a short descriptive name for the service.
reference is a user-facing identifier for the service which must be unique on the environment. It is used to express dependencies between services, and to identify the service in user interactions (e.g. the CLI).
type ServiceSpec struct{…}
Commands ServiceSpecCommandsOptionalcommands contains the commands to start, stop and check the readiness of the service
commands contains the commands to start, stop and check the readiness of the service
ready is an optional command that is run repeatedly until it exits with a zero exit code. If set, the service will first go into a Starting phase, and then into a Running phase once the ready command exits with a zero exit code.
start is the command to start and run the service. If start exits, the service will transition to the following phase:
- Stopped: if the exit code is 0
- Failed: if the exit code is not 0 If the stop command is not set, the start command will receive a SIGTERM signal when the service is requested to stop. If it does not exit within 2 minutes, it will receive a SIGKILL signal.
stop is an optional command that runs when the service is requested to stop. If set, instead of sending a SIGTERM signal to the start command, the stop command will be run. Once the stop command exits, the start command will receive a SIGKILL signal. If the stop command exits with a non-zero exit code, the service will transition to the Failed phase. If the stop command does not exit within 2 minutes, a SIGKILL signal will be sent to both the start and stop commands.
desired_phase is the phase the service should be in. Used to start or stop the service.
desired_phase is the phase the service should be in. Used to start or stop the service.
env specifies environment variables for the service.
env specifies environment variables for the service.
value_from specifies a source for the value.
value_from specifies a source for the value.
SecretRef SecretRefsecret_ref references a secret by ID.
secret_ref references a secret by ID.
type ServiceStatus struct{…}
failure_message summarises why the service failed to operate. If this is non-empty the service has failed to operate and will likely transition to a failed state.
output contains the output of the service. setting an output field to empty string will unset it.
version of the status update. Service instances themselves are unversioned, but their status has different versions. The value of this field has no semantic meaning (e.g. don’t interpret it as as a timestamp), but it can be used to impose a partial order. If a.status_version < b.status_version then a was the status before b.