Files
kubernetes/pkg/kubectl
Kubernetes Submit Queue 79dae5c092 Merge pull request #45810 from superbrothers/expand-env-vals
Automatic merge from submit-queue (batch tested with PRs 45247, 45810, 45034, 45898, 45899)

kubectl plugin: Expand environment variables in the command of plugin.yaml

**What this PR does / why we need it**:

This commit improves kubectl plugins to expand environment variables in the command of plugin.yaml.
I'd like to use environment variables in the command of plugin.yaml as follows:
```yaml
name: hello
shortDesc: "The hello plugin"
longDesc: >
  The hello plugin is a new
  plugin used by test-cmd
  to test multiple plugin locations.
command: $HOME/path/to/plugins/hello.sh
```

**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**:

**Release note**:

```release-note
NONE
```
2017-05-16 19:01:57 -07:00
..
2017-01-11 09:09:48 -05:00
2017-03-08 07:58:01 -08:00
2017-05-05 13:57:01 -07: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-11 09:09:48 -05:00
2017-01-26 13:54:40 -05:00
2017-01-11 09:09:48 -05:00
2017-03-08 07:58:01 -08:00
2017-01-11 09:09:48 -05:00
2016-12-14 12:39:49 -08:00