Add bash test for kubectl set env command

This commit is contained in:
zhengjiajin
2017-08-25 20:37:46 +08:00
parent abb71311cb
commit 04be0131d0
3 changed files with 40 additions and 0 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