Files
kubernetes/pkg/kubectl/cmd
Kubernetes Submit Queue 420071d86e Merge pull request #60636 from PhilipGough/keys-from-cm-patch
Automatic merge from submit-queue. 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>.

Allow env from resource with keys & updated tests

**What this PR does / why we need it**:
This change allows users to pull environment from specific keys in secrets and configmaps using the `kubectl set env` command. User can provide a list of comma-separated keys with the `--keys` flag.

This can be useful when a number of applications want to share a configuration object but don't want to pollute a resource with unused environment

Improves test coverage of set env command

**Release note**:

```
Allow kubectl set env to specify which keys to import from a resource
```
2018-05-23 15:51:01 -07:00
..
2018-05-23 10:44:01 -04:00
2018-05-08 09:02:34 -04:00
2018-05-08 18:33:50 -04:00
2018-05-22 13:31:01 -04:00
2018-05-22 08:47:42 -04:00
2018-05-08 18:33:50 -04:00
2018-05-18 11:49:02 -04:00
2018-05-22 08:47:42 -04:00
2018-05-04 17:02:20 -04:00
2018-05-08 18:33:50 -04:00
2018-05-22 08:47:42 -04:00
2018-05-08 18:33:50 -04:00
2018-05-08 09:02:34 -04:00
2018-05-08 18:33:50 -04:00
2018-05-08 18:33:50 -04:00
2018-05-08 18:33:50 -04:00
2018-05-22 13:31:01 -04:00
2018-05-08 18:33:50 -04:00
2018-05-22 13:31:01 -04:00
2018-05-08 09:02:34 -04:00
2018-05-08 18:33:50 -04:00
2018-05-08 18:33:50 -04:00
2018-05-22 08:47:42 -04:00
2018-05-22 13:31:01 -04:00
2018-05-08 18:33:50 -04:00
2018-05-08 18:33:50 -04:00
2018-05-08 09:02:34 -04:00
2018-05-08 09:02:34 -04:00
2018-05-08 09:02:34 -04:00