diff --git a/README.md b/README.md index 8e9d18d..adf21c5 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ $ composer require maclof/kubernetes-client ### batch/v1 * Jobs -### batch/v2alpha1 +### batch/v1beta1 * Cron Jobs ### extensions/v1beta1 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'; } 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