pub struct CustomBuildStrategy {
pub build_api_version: Option<String>,
pub env: Option<Vec<EnvVar>>,
pub expose_docker_socket: Option<bool>,
pub force_pull: Option<bool>,
pub from: ObjectReference,
pub pull_secret: Option<LocalObjectReference>,
pub secrets: Option<Vec<SecretSpec>>,
}
Expand description
CustomBuildStrategy defines input parameters specific to Custom build.
Fields§
§build_api_version: Option<String>
buildAPIVersion is the requested API version for the Build object serialized and passed to the custom builder
env: Option<Vec<EnvVar>>
env contains additional environment variables you want to pass into a builder container.
expose_docker_socket: Option<bool>
exposeDockerSocket will allow running Docker commands (and build container images) from inside the container.
force_pull: Option<bool>
forcePull describes if the controller should configure the build pod to always pull the images for the builder or only pull if it is not present locally
from: ObjectReference
from is reference to an DockerImage, ImageStreamTag, or ImageStreamImage from which the container image should be pulled
pull_secret: Option<LocalObjectReference>
pullSecret is the name of a Secret that would be used for setting up the authentication for pulling the container images from the private Docker registries
secrets: Option<Vec<SecretSpec>>
secrets is a list of additional secrets that will be included in the build pod
Trait Implementations§
Source§impl Clone for CustomBuildStrategy
impl Clone for CustomBuildStrategy
Source§fn clone(&self) -> CustomBuildStrategy
fn clone(&self) -> CustomBuildStrategy
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more