mirror of
https://github.com/kestra-io/kestra.git
synced 2025-12-19 18:05:41 -05:00
fix!: update pullPolicy default value to IF_NOT_PRESENT (#8170)
This commit is contained in:
@@ -79,7 +79,7 @@ public class DockerOptions {
|
|||||||
protected List<String> volumes;
|
protected List<String> volumes;
|
||||||
|
|
||||||
@Builder.Default
|
@Builder.Default
|
||||||
protected Property<PullPolicy> pullPolicy = Property.of(PullPolicy.ALWAYS);
|
protected Property<PullPolicy> pullPolicy = Property.of(PullPolicy.IF_NOT_PRESENT);
|
||||||
|
|
||||||
@Schema(
|
@Schema(
|
||||||
title = "A list of device requests to be sent to device drivers."
|
title = "A list of device requests to be sent to device drivers."
|
||||||
|
|||||||
@@ -245,7 +245,7 @@ public class Docker extends TaskRunner<Docker.DockerTaskRunnerDetailResult> {
|
|||||||
even if an image with the same tag already exists."""
|
even if an image with the same tag already exists."""
|
||||||
)
|
)
|
||||||
@Builder.Default
|
@Builder.Default
|
||||||
protected Property<PullPolicy> pullPolicy = Property.of(PullPolicy.ALWAYS);
|
protected Property<PullPolicy> pullPolicy = Property.of(PullPolicy.IF_NOT_PRESENT);
|
||||||
|
|
||||||
@Schema(
|
@Schema(
|
||||||
title = "A list of device requests to be sent to device drivers."
|
title = "A list of device requests to be sent to device drivers."
|
||||||
|
|||||||
Reference in New Issue
Block a user