Skip to content

Commit

Permalink
Update imagePullPolicy to be IfNotPresent by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
Corneil du Plessis committed Oct 19, 2023
1 parent d1b00cc commit cda2680
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ The following example shows how you can individually configure applications:
====
[source,options=nowrap]
----
deployer.<application>.kubernetes.imagePullPolicy=Always
deployer.<application>.kubernetes.imagePullPolicy=IfNotPresent
----
====

Expand All @@ -527,7 +527,7 @@ data:
kubernetes:
accounts:
default:
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
----
====

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ spring:
accounts:
dev:
namespace: devNamespace
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
entryPointStyle: exec
limits:
cpu: 4
Expand Down Expand Up @@ -556,8 +556,8 @@ The following YAML snippet from a Deployment is an example of mounting a ConfigM
...
containers:
- name: scdf-server
image: springcloud/spring-cloud-dataflow-server:2.5.0.BUILD-SNAPSHOT
imagePullPolicy: Always
image: springcloud/spring-cloud-dataflow-server:2.11.1-SNAPSHOT
imagePullPolicy: IfNotPresent
volumeMounts:
- name: config
mountPath: /config
Expand Down Expand Up @@ -897,7 +897,7 @@ The following example shows how you can individually configure containers:

[source,options=nowrap]
----
deployer.kubernetes.imagePullPolicy=Always
deployer.kubernetes.imagePullPolicy=IfNotPresent
----


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spring:
fabric8:
masterUrl: https://192.168.0.1:8443
namespace: dev1
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
entryPointStyle: exec
limits:
cpu: 4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spring:
fabric8:
masterUrl: https://192.168.0.1:8443
namespace: dev1
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
entryPointStyle: exec
limits:
cpu: 4
Expand Down
2 changes: 1 addition & 1 deletion src/carvel/config/dataflow-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
containers:
- name: scdf-server
image: #@ dataflow_image()
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
volumeMounts:
- name: config
mountPath: /workspace/config
Expand Down
2 changes: 1 addition & 1 deletion src/carvel/config/skipper-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
containers:
- name: skipper
image: #@ skipper_image()
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
volumeMounts:
- name: config
mountPath: /workspace/config
Expand Down
2 changes: 1 addition & 1 deletion src/kubernetes/server/server-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
containers:
- name: scdf-server
image: springcloud/spring-cloud-dataflow-server:2.11.2-SNAPSHOT
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
volumeMounts:
- name: config
mountPath: /workspace/config
Expand Down
2 changes: 1 addition & 1 deletion src/kubernetes/skipper/skipper-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
containers:
- name: skipper
image: springcloud/spring-cloud-skipper-server:2.11.2-SNAPSHOT
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
volumeMounts:
- name: config
mountPath: /workspace/config
Expand Down

0 comments on commit cda2680

Please sign in to comment.