Package io.quarkus.kubernetes.spi
Class KubernetesInitContainerBuildItem
java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.MultiBuildItem
io.quarkus.kubernetes.spi.KubernetesInitContainerBuildItem
public final class KubernetesInitContainerBuildItem
extends io.quarkus.builder.item.MultiBuildItem
A Built item for generating init containers.
The generated container will have the specified fields
and may optionally inherit env vars and volumes from the app container.
Env vars specified through this build item, will take precedence over inherited ones.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetImage()getName()booleanFlag for tasks that require access to the environment variables of the application.booleanFlag for tasks that need to share filesystem with the application.withArguments(List<String> arguments) withCommand(List<String> command) withEnvVars(Map<String, String> envVars) withSharedEnvironment(boolean sharedEnvironment) withSharedFilesystem(boolean sharedFilesystem) withTarget(String target)
-
Constructor Details
-
KubernetesInitContainerBuildItem
-
-
Method Details
-
create
-
getName
-
withName
-
getTarget
-
withTarget
-
getImage
-
withImage
-
getCommand
-
withCommand
-
getArguments
-
withArguments
-
getEnvVars
-
withEnvVars
-