Skip to content

Commit

Permalink
feat(imagePullPolicy): Change to Always
Browse files Browse the repository at this point in the history
By default change to always to ease restarting images
to get the latest updates
  • Loading branch information
Jose-Matsuda committed May 4, 2022
1 parent b837df3 commit 2113334
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class FormImageComponent implements OnInit, OnDestroy {
@Input() imagesGroupOne: string[];
@Input() imagesGroupTwo: string[];
@Input() allowCustomImage: boolean;
selected = 'IfNotPresent';
selected = 'Always';
@Input() hideRegistry: boolean;
@Input() hideTag: boolean;

Expand Down
2 changes: 1 addition & 1 deletion frontend/jupyter/src/app/pages/form/form-default/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function getFormDefaults(): FormGroup {
imageGroupOne: ['', [Validators.required]],
imageGroupTwo: ['', [Validators.required]],
allowCustomImage: [true, []],
imagePullPolicy: ['IfNotPresent', [Validators.required]],
imagePullPolicy: ['Always', [Validators.required]],
customImage: ['', []],
customImageCheck: [false, []],
serverType: ['jupyter', [Validators.required]],
Expand Down
2 changes: 1 addition & 1 deletion samples/spawner_ui_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ spawnerFormDefaults:
hideTag: true
allowCustomImage: true
imagePullPolicy:
value: IfNotPresent
value: Always
cpu:
# CPU for user's Notebook
value: '1.0'
Expand Down

0 comments on commit 2113334

Please sign in to comment.