Merge pull request #113542 from ardaguclu/fix-shortname-disperancy

Set singular names for core types to pass to discovery
This commit is contained in:
Kubernetes Prow Robot
2023-01-03 09:29:43 -08:00
committed by GitHub
81 changed files with 586 additions and 188 deletions

View File

@@ -504,7 +504,17 @@ runTests() {
# Assert short name #
#########################
record_command run_assert_short_name_tests
if kube::test::if_supports_resource "${customresourcedefinitions}" && kube::test::if_supports_resource "${pods}" && kube::test::if_supports_resource "${configmaps}" ; then
record_command run_assert_short_name_tests
fi
#########################
# Assert singular name #
#########################
if kube::test::if_supports_resource "${customresourcedefinitions}" && kube::test::if_supports_resource "${pods}" ; then
record_command run_assert_singular_name_tests
fi
#########################
# Assert categories #