File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ informergen=$(kube::util::find-binary "informer-gen")
40
40
41
41
GROUP_VERSIONS=(${KUBE_AVAILABLE_GROUP_VERSIONS} )
42
42
GV_DIRS=()
43
- INTERNAL_DIRS=()
44
43
for gv in " ${GROUP_VERSIONS[@]} " ; do
45
44
# add items, but strip off any leading apis/ you find to match command expectations
46
45
api_dir=$( kube::util::group-version-to-pkg-path " ${gv} " )
@@ -55,19 +54,9 @@ for gv in "${GROUP_VERSIONS[@]}"; do
55
54
fi
56
55
57
56
GV_DIRS+=(" ${pkg_dir} " )
58
-
59
- # collect internal groups
60
- int_group=" ${pkg_dir%/* } /"
61
- if [[ " ${pkg_dir} " = core/* ]]; then
62
- int_group=" api/"
63
- fi
64
- if ! [[ " ${INTERNAL_DIRS[@]:- } " =~ " ${int_group} " ]]; then
65
- INTERNAL_DIRS+=(" ${int_group} " )
66
- fi
67
57
done
68
58
# delimit by commas for the command
69
59
GV_DIRS_CSV=$( IFS=' ,' ; echo " ${GV_DIRS[*]// / ,} " ; IFS=$)
70
- INTERNAL_DIRS_CSV=$( IFS=' ,' ; echo " ${INTERNAL_DIRS[*]// / ,} " ; IFS=$)
71
60
72
61
# This can be called with one flag, --verify-only, so it works for both the
73
62
# update- and verify- scripts.
You can’t perform that action at this time.
0 commit comments