File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 423
423
echo -e " If this step is too long, please check the pod is running in the accurate namespace"
424
424
echo -e " Please wait ..."
425
425
# Start job
426
- run_hide_output " kubectl create job $NAMESPACE --from=cronjob/$REMOTE_CRONJOB_NAME $REMOTE_CRONJOB_NAME -` mktemp -u XXXXX | tr ' [:upper:]' ' [:lower:]' ` --dry-run=client -o json | jq 'del(.metadata.ownerReferences)' | kubectl apply -f -" " all"
426
+ run_hide_output " kubectl create job $NAMESPACE --from=cronjob/$REMOTE_CRONJOB_NAME $REMOTE_CRONJOB_NAME -` mktemp -u XXXXXX | tr ' [:upper:]' ' [:lower:]' ` --dry-run=client -o json | jq 'del(.metadata.ownerReferences)' | kubectl apply -f -" " all"
427
427
sleep 5
428
428
pod=$( kubectl get pods $NAMESPACE -l gitguardian=remote-preflight --sort-by=.metadata.creationTimestamp -o ' jsonpath={.items[-1].metadata.name}' )
429
429
You can’t perform that action at this time.
0 commit comments