Skip to content

Commit

Permalink
Merge pull request #22 from SysBind/fix_cronjob
Browse files Browse the repository at this point in the history
Fix cronjob
  • Loading branch information
maclof authored Mar 14, 2018
2 parents 7bf127d + e3043e1 commit 3564276
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ $ composer require maclof/kubernetes-client
### batch/v1
* Jobs

### batch/v2alpha1
### batch/v1beta1
* Cron Jobs

### extensions/v1beta1
Expand Down
2 changes: 1 addition & 1 deletion src/Models/CronJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ class CronJob extends Model
*
* @var string
*/
protected $apiVersion = 'batch/v2alpha1';
protected $apiVersion = 'batch/v1beta1';
}
2 changes: 1 addition & 1 deletion tests/fixtures/cron-jobs/empty.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"kind": "CronJob",
"apiVersion": "batch\/v2alpha1"
"apiVersion": "batch\/v1beta1"
}

0 comments on commit 3564276

Please sign in to comment.