From 60d12ff3cd7cc8b565fd85d7021a0abd1829023d Mon Sep 17 00:00:00 2001 From: Avi Levy Date: Tue, 13 Mar 2018 18:46:06 +0200 Subject: [PATCH 1/3] update apiVersion for cronjob --- src/Models/CronJob.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Models/CronJob.php b/src/Models/CronJob.php index c478171..90f42bb 100644 --- a/src/Models/CronJob.php +++ b/src/Models/CronJob.php @@ -7,5 +7,5 @@ class CronJob extends Model * * @var string */ - protected $apiVersion = 'batch/v2alpha1'; + protected $apiVersion = 'batch/v1beta1'; } From 80ee4e3fd8c4474e523f67b40b6ab39af56af6dc Mon Sep 17 00:00:00 2001 From: Avi Levy Date: Tue, 13 Mar 2018 18:48:29 +0200 Subject: [PATCH 2/3] update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 37c8f47..a5fbc78 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ $ composer require maclof/kubernetes-client ### batch/v1 * Jobs -### batch/v2alpha1 +### batch/v1beta1 * Cron Jobs ### extensions/v1beta1 From e3043e146db3b7d8512819d188eef89d14094a14 Mon Sep 17 00:00:00 2001 From: Avi Levy Date: Wed, 14 Mar 2018 19:58:01 +0200 Subject: [PATCH 3/3] change CronJob apiversion in unittest --- tests/fixtures/cron-jobs/empty.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fixtures/cron-jobs/empty.json b/tests/fixtures/cron-jobs/empty.json index 923d6ff..e084e42 100644 --- a/tests/fixtures/cron-jobs/empty.json +++ b/tests/fixtures/cron-jobs/empty.json @@ -1,4 +1,4 @@ { "kind": "CronJob", - "apiVersion": "batch\/v2alpha1" + "apiVersion": "batch\/v1beta1" } \ No newline at end of file