Kubectl support for validating nested objects with different ApiGroups (e.g. Lists containing objects in different api groups). Closes #24089

This commit is contained in:
Phillip Wittrock
2016-05-04 15:52:19 -07:00
parent 8a81000b71
commit 680b2b9d09
7 changed files with 281 additions and 23 deletions

View File

@@ -1727,6 +1727,21 @@ __EOF__
kubectl delete rs frontend "${kube_flags[@]}"
######################
# Lists #
######################
kube::log::status "Testing kubectl(${version}:lists)"
### Create a List with objects from multiple versions
# Command
kubectl create -f hack/testdata/list.yaml "${kube_flags[@]}"
### Delete the List with objects from multiple versions
# Command
kubectl delete service/list-service-test deployment/list-deployment-test
######################
# Multiple Resources #
######################