Merge pull request #4395 from smarterclayton/split_naming

Fix cross-namespace LIST and WATCH
This commit is contained in:
Brian Grant
2015-02-17 09:40:09 -08:00
15 changed files with 777 additions and 309 deletions

View File

@@ -156,6 +156,11 @@ for version in "${kube_api_versions[@]}"; do
howmanypods="$(kubectl get pods -o template -t "{{ len .items }}" "${kube_flags[@]}")"
[ "$howmanypods" -eq 0 ]
# make calls in another namespace
kubectl create --namespace=other -f examples/guestbook/redis-master.json "${kube_flags[@]}"
kubectl get pod --namespace=other redis-master
kubectl delete pod --namespace=other redis-master
kube::log::status "Testing kubectl(${version}:services)"
kubectl get services "${kube_flags[@]}"
kubectl create -f examples/guestbook/frontend-service.json "${kube_flags[@]}"