Files
kubernetes/pkg/kubectl
Kubernetes Submit Queue afd3db25cf Merge pull request #41146 from shiywang/apply-view1
Automatic merge from submit-queue (batch tested with PRs 41146, 41486, 41482, 41538, 41784)

 Add apply view-last-applied subcommand

reopen pr https://github.com/kubernetes/kubernetes/pull/40984, implement part of https://github.com/kubernetes/community/pull/287
for now unit test all pass, the output looks like:

```console
shiywang@dhcp-140-33 template $ ./kubectl apply view last-applied deployment nginx-deployment 
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  creationTimestamp: null
  name: nginx-deployment
spec:
  strategy: {}
  template:
    metadata:
      creationTimestamp: null
      labels:
        app: nginx
    spec:
      containers:
      - image: nginx:1.12.10
        name: nginx
        ports:
        - containerPort: 80
        resources: {}
status: {}
```

```release-note
Support new kubectl apply view-last-applied command for viewing the last configuration file applied
```

not sure if there is any flag I should updated or the some error handling I should changed.
will generate docs when you guys think is ok.
cc @pwittrock @jessfraz @AdoHe @ymqytw
2017-02-22 21:09:31 -08:00
..
2017-01-29 21:41:45 +01:00
2017-01-11 09:09:48 -05:00
2017-01-11 09:09:48 -05:00
2017-02-22 09:27:42 -05:00
2016-07-16 13:48:21 -04:00
2017-01-11 09:09:48 -05:00
2017-01-11 09:09:48 -05:00
2017-01-11 09:09:48 -05:00
2017-01-20 08:04:53 -05:00
2017-01-11 09:09:48 -05:00
2017-01-25 17:32:22 -08:00
2017-01-30 12:46:59 -05:00
2017-01-20 08:04:53 -05:00
2017-01-11 09:09:48 -05:00
2017-01-11 09:09:48 -05:00
2017-02-10 17:58:59 +01:00
2017-01-11 09:09:48 -05:00
2017-01-29 21:41:44 +01:00
2017-01-26 13:54:40 -05:00
2017-01-11 09:09:48 -05:00
2017-01-11 09:09:48 -05:00
2017-01-11 09:09:48 -05:00
2016-11-23 15:53:09 -08:00
2017-01-26 13:54:40 -05:00
2016-12-14 12:39:49 -08:00