k3s/pkg/printers/internalversion
Kubernetes Submit Queue 476e207aef Merge pull request #52484 from zjj2wry/cronjob
Automatic merge from submit-queue (batch tested with PRs 50890, 52484, 52542, 52567, 50672). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>..

fix kubectl get cronjob lose age info

**What this PR does / why we need it**:
relate with #20941
befere output:
```
NAME      SCHEDULE      SUSPEND   ACTIVE    LAST SCHEDULE   AGE
pi        0/5 * * * ?   False     1         Thu, 14 Sep 2017 20:10:00 +0800
```
now output:
```
admindeMacBook-Pro-2:kubectl admin$ ./kubectl get cronjob
NAME      SCHEDULE      SUSPEND   ACTIVE    LAST SCHEDULE   AGE
pi        0/5 * * * ?   False     1         3m              4m
```

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**:
thanks
**Release note**:

```release-note
NONE
```
2017-09-23 16:26:49 -07:00
..
.import-restrictions Restrict imports for printers 2017-02-23 00:28:31 -05:00
BUILD Move consumers of autoscaling/v2alpha1 to v2beta1 2017-09-05 17:49:30 -04:00
describe.go Merge pull request #52379 from dixudx/kubectl_describe_hostpathtype 2017-09-23 11:40:53 -07:00
describe_test.go Merge pull request #52379 from dixudx/kubectl_describe_hostpathtype 2017-09-23 11:40:53 -07:00
printers.go add age column for storageclass and cronjob test 2017-09-15 17:55:40 +08:00
printers_test.go add age column for storageclass and cronjob test 2017-09-15 17:55:40 +08:00
sorted_resource_name_list_test.go Refactor printers to separate typed printers from generic code 2017-02-23 00:28:30 -05:00