Merge pull request #50998 from zjj2wry/set-env

Automatic merge from submit-queue (batch tested with PRs 51377, 46580, 50998, 51466, 49749)

feat(#21648 )Add kubectl set env command.

**What this PR does / why we need it**:
#21648
Moved from OpenShift to Kubenetes.
@kargakis @smarterclayton 

**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
```
This commit is contained in:
Kubernetes Submit Queue
2017-08-29 22:57:06 -07:00
committed by GitHub
19 changed files with 922 additions and 3 deletions

7
hack/testdata/configmap.yaml vendored Normal file
View File

@@ -0,0 +1,7 @@
apiVersion: v1
data:
key-1: value-1
key-2: value-2
kind: ConfigMap
metadata:
name: test-set-env-config

8
hack/testdata/secret.yaml vendored Normal file
View File

@@ -0,0 +1,8 @@
apiVersion: v1
kind: Secret
metadata:
name: test-set-env-secret
type: Opaque
data:
password: dmFsdWUtMg0K
username: dmFsdWUtMQ0K