Correct command output

For issue #28490,
update command output to avoid confusion.
This commit is contained in:
chenxuc 2021-06-20 16:03:08 +08:00
parent 6df48cef0e
commit c2d7782e5a
1 changed files with 8 additions and 4 deletions

View File

@ -154,22 +154,26 @@ from the YAML you used to create it:
```yaml ```yaml
apiVersion: v1 apiVersion: v1
kind: List
items: items:
- apiVersion: stable.example.com/v1 - apiVersion: stable.example.com/v1
kind: CronTab kind: CronTab
metadata: metadata:
creationTimestamp: 2017-05-31T12:56:35Z annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"stable.example.com/v1","kind":"CronTab","metadata":{"annotations":{},"name":"my-new-cron-object","namespace":"default"},"spec":{"cronSpec":"* * * * */5","image":"my-awesome-cron-image"}}
creationTimestamp: "2021-06-20T07:35:27Z"
generation: 1 generation: 1
name: my-new-cron-object name: my-new-cron-object
namespace: default namespace: default
resourceVersion: "285" resourceVersion: "1326"
uid: 9423255b-4600-11e7-af6a-28d2447dc82b uid: 9aab1d66-628e-41bb-a422-57b8b3b1f5a9
spec: spec:
cronSpec: '* * * * */5' cronSpec: '* * * * */5'
image: my-awesome-cron-image image: my-awesome-cron-image
kind: List
metadata: metadata:
resourceVersion: "" resourceVersion: ""
selfLink: ""
``` ```
## Delete a CustomResourceDefinition ## Delete a CustomResourceDefinition