test: Add more kubectx tests (#111)

This commit is contained in:
Philippe MARTIN
2018-12-25 20:38:45 +01:00
committed by Ahmet Alp Balkan
parent 845f3b690b
commit acbf324464
4 changed files with 140 additions and 0 deletions

18
test/testdata/config1 vendored Normal file
View File

@@ -0,0 +1,18 @@
# config with one context
apiVersion: v1
clusters:
- cluster:
server: ""
name: cluster1
contexts:
- context:
cluster: cluster1
user: user1
name: user1@cluster1
current-context: ""
kind: Config
preferences: {}
users:
- name: user1
user: {}