diff --git a/frontend/jupyter/src/app/pages/form/form-default/form-image/form-image.component.ts b/frontend/jupyter/src/app/pages/form/form-default/form-image/form-image.component.ts index 85a0a700..9d308b2a 100755 --- a/frontend/jupyter/src/app/pages/form/form-default/form-image/form-image.component.ts +++ b/frontend/jupyter/src/app/pages/form/form-default/form-image/form-image.component.ts @@ -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; diff --git a/frontend/jupyter/src/app/pages/form/form-default/utils.ts b/frontend/jupyter/src/app/pages/form/form-default/utils.ts index f4e7d14f..f95824dd 100644 --- a/frontend/jupyter/src/app/pages/form/form-default/utils.ts +++ b/frontend/jupyter/src/app/pages/form/form-default/utils.ts @@ -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]], diff --git a/samples/spawner_ui_config.yaml b/samples/spawner_ui_config.yaml index 6556ab68..95b2b8b1 100644 --- a/samples/spawner_ui_config.yaml +++ b/samples/spawner_ui_config.yaml @@ -48,7 +48,7 @@ spawnerFormDefaults: hideTag: true allowCustomImage: true imagePullPolicy: - value: IfNotPresent + value: Always cpu: # CPU for user's Notebook value: '1.0'