This is an automated email from the ASF dual-hosted git repository.

weiraowang pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new 150d9e04b0 [Improvement][UI] Image pull policy in the K8S task 
provides default values (#14650)
150d9e04b0 is described below

commit 150d9e04b0675e3d4bee6000a742a0e54846472e
Author: Gallardot <[email protected]>
AuthorDate: Sat Jul 29 19:56:19 2023 +0800

    [Improvement][UI] Image pull policy in the K8S task provides default values 
(#14650)
    
    Signed-off-by: Gallardot <[email protected]>
    Co-authored-by: Aaron Wang <[email protected]>
---
 .../src/views/projects/task/components/node/fields/use-k8s.ts          | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-k8s.ts 
b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-k8s.ts
index 390ab2808c..2002dcb260 100644
--- 
a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-k8s.ts
+++ 
b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-k8s.ts
@@ -76,7 +76,8 @@ export function useK8s(model: { [field: string]: any }): 
IJsonItem[] {
         trigger: ['input', 'blur'],
         required: true,
         message: t('project.node.image_pull_policy_tips')
-      }
+      },
+      value: 'IfNotPresent'
     },
     {
       type: 'input',

Reply via email to