update test-cmd to avoid removed beta APIs
This commit is contained in:
@@ -89,6 +89,7 @@ nodes="nodes"
|
||||
persistentvolumeclaims="persistentvolumeclaims"
|
||||
persistentvolumes="persistentvolumes"
|
||||
pods="pods"
|
||||
podsecuritypolicies="podsecuritypolicies"
|
||||
podtemplates="podtemplates"
|
||||
replicasets="replicasets"
|
||||
replicationcontrollers="replicationcontrollers"
|
||||
@@ -908,6 +909,15 @@ runTests() {
|
||||
fi
|
||||
fi
|
||||
|
||||
############################
|
||||
# Kubectl deprecated APIs #
|
||||
############################
|
||||
|
||||
if kube::test::if_supports_resource "${podsecuritypolicies}" ; then
|
||||
run_deprecated_api_tests
|
||||
fi
|
||||
|
||||
|
||||
######################
|
||||
# kubectl --template #
|
||||
######################
|
||||
|
Reference in New Issue
Block a user