kf configure-space set-buildpack-env
Set an environment variable for Builds in a Space.
Name
kf configure-space set-buildpack-env - Set an environment variable for Builds in a Space.
Synopsis
kf configure-space set-buildpack-env [SPACE_NAME] ENV_VAR_NAME ENV_VAR_VALUE [flags]
Examples
# Configure the Space "my-space" kf configure-space set-buildpack-env my-space JDK_VERSION 11 # Configure the targeted Space kf configure-space set-buildpack-env JDK_VERSION 11
Flags
--asyncDo not wait for the action to complete on the server before returning.
-h, --helphelp for set-buildpack-env
Inherited flags
These flags are inherited from parent commands.
--as=stringUsername to impersonate for the operation.
--as-group=stringsGroup to impersonate for the operation. Include this flag multiple times to specify multiple groups.
--config=stringPath to the Kf config file to use for CLI requests.
--kubeconfig=stringPath to the kubeconfig file to use for CLI requests.
--log-httpLog HTTP requests to standard error.
--space=stringSpace to run the command against. This flag overrides the currently targeted Space.
Last modified October 24, 2025: Remove references to cluster task (#1089) (da51826)