Update cronjob integration test to batch/v1

Signed-off-by: wangyysde <net_use@bzhy.com>
This commit is contained in:
wangyysde
2021-05-25 15:02:13 +08:00
parent 2bbc0e3c54
commit 558bdd18aa
8 changed files with 25 additions and 47 deletions

View File

@@ -99,7 +99,7 @@ run_template_output_tests() {
# check that "create job" command supports --template output
kubectl create "${kube_flags[@]:?}" -f - <<EOF
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: pi