mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-06 03:33:26 +00:00
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:
@@ -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 #
|
||||
######################
|
||||
|
Reference in New Issue
Block a user