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:
|
1. Create a YAML file for the CronJob using the following example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: batch/v1beta1
|
apiVersion: batch/v1
|
||||||
kind: CronJob
|
kind: CronJob
|
||||||
metadata:
|
metadata:
|
||||||
name: heartbeat-cron
|
name: heartbeat-cron
|
||||||
|
|
|
@ -67,7 +67,7 @@ metadata:
|
||||||
name: bind-heartbeat
|
name: bind-heartbeat
|
||||||
spec:
|
spec:
|
||||||
subject:
|
subject:
|
||||||
apiVersion: batch/v1beta1
|
apiVersion: batch/v1
|
||||||
kind: Job
|
kind: Job
|
||||||
namespace: default
|
namespace: default
|
||||||
selector:
|
selector:
|
||||||
|
|
Loading…
Reference in New Issue