Skip to content

Commit 2113334

Browse files
committed
feat(imagePullPolicy): Change to Always
By default change to always to ease restarting images to get the latest updates
1 parent b837df3 commit 2113334

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

frontend/jupyter/src/app/pages/form/form-default/form-image/form-image.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export class FormImageComponent implements OnInit, OnDestroy {
1616
@Input() imagesGroupOne: string[];
1717
@Input() imagesGroupTwo: string[];
1818
@Input() allowCustomImage: boolean;
19-
selected = 'IfNotPresent';
19+
selected = 'Always';
2020
@Input() hideRegistry: boolean;
2121
@Input() hideTag: boolean;
2222

frontend/jupyter/src/app/pages/form/form-default/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export function getFormDefaults(): FormGroup {
1212
imageGroupOne: ['', [Validators.required]],
1313
imageGroupTwo: ['', [Validators.required]],
1414
allowCustomImage: [true, []],
15-
imagePullPolicy: ['IfNotPresent', [Validators.required]],
15+
imagePullPolicy: ['Always', [Validators.required]],
1616
customImage: ['', []],
1717
customImageCheck: [false, []],
1818
serverType: ['jupyter', [Validators.required]],

samples/spawner_ui_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ spawnerFormDefaults:
4848
hideTag: true
4949
allowCustomImage: true
5050
imagePullPolicy:
51-
value: IfNotPresent
51+
value: Always
5252
cpu:
5353
# CPU for user's Notebook
5454
value: '1.0'

0 commit comments

Comments
 (0)