mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 21:21:14 +00:00
Add bash test for kubectl set env command
This commit is contained in:
7
hack/testdata/configmap.yaml
vendored
Normal file
7
hack/testdata/configmap.yaml
vendored
Normal 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
8
hack/testdata/secret.yaml
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: test-set-env-secret
|
||||
type: Opaque
|
||||
data:
|
||||
password: dmFsdWUtMg0K
|
||||
username: dmFsdWUtMQ0K
|
Reference in New Issue
Block a user