You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 2, 2024. It is now read-only.
returnfmt.Errorf("invalid image-pull-policy, must be 'IfNotPresetn' or 'Always'")
67
+
}
68
+
65
69
returnnil
66
70
}
67
71
@@ -100,6 +104,7 @@ func main() {
100
104
101
105
c.QName=flag.String("qname", "", "Job Queue to submit to, overrides value in job-json")
102
106
c.ContainerImage=flag.String("image", "", "Docker image to run job within, overrides value in job-json")
107
+
c.ImagePullPolicy=flag.String("image-pull-policy", "IfNotPresent", "Docker image pull policy: IfNotPresent or Always")
103
108
c.Content=flag.String("content", "", "Folder or targz to inject into the container relative to root '/' folder, overrides value in job-json")
104
109
c.EntryPoint=flag.String("entrypoint", "", "JSON array of string parts defining the container's entrypoint, e.g.: '[\"ansible\"]', overrides value in job-json")
105
110
c.Run=flag.String("run", "", "JSON array of string parts defining the command to run in the container - aka the job, e.g.: '[\"-m\", \"ping\", \"127.0.0.1\"]', overrides value in job-json")
0 commit comments