mirror of https://github.com/knative/docs.git
Update docs to use batch/v1 (#5228)
This commit is contained in:
parent
044751ac59
commit
44b4d61413
|
@ -134,7 +134,7 @@ any extra overrides given by `CE_OVERRIDES`.
|
|||
1. Create a YAML file for the CronJob using the following example:
|
||||
|
||||
```yaml
|
||||
apiVersion: batch/v1beta1
|
||||
apiVersion: batch/v1
|
||||
kind: CronJob
|
||||
metadata:
|
||||
name: heartbeat-cron
|
||||
|
|
|
@ -67,7 +67,7 @@ metadata:
|
|||
name: bind-heartbeat
|
||||
spec:
|
||||
subject:
|
||||
apiVersion: batch/v1beta1
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
namespace: default
|
||||
selector:
|
||||
|
|
Loading…
Reference in New Issue