-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #671 from zhengxiexie/zhengxie/rm_stale
Remove ippool CRD and other stale resources
- Loading branch information
Showing
79 changed files
with
186 additions
and
7,066 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,14 +16,15 @@ CODEGEN_PKG=$(go env GOMODCACHE)/k8s.io/[email protected] | |
rm -fr "${APIS:?}/${GROUP:?}" | ||
rm -fr ./pkg/client | ||
|
||
for VERSION in v1alpha1 v1alpha2; do | ||
# shellcheck disable=SC2043 | ||
for VERSION in v1alpha1 ; do | ||
mkdir -p "${APIS}/${GROUP}/${VERSION}" | ||
cp -r "${APIS}/${VERSION}"/* "${APIS}/${GROUP}/${VERSION}/" | ||
done | ||
|
||
bash "${CODEGEN_PKG}"/generate-groups.sh "deepcopy,client,informer,lister" \ | ||
${OUTPUT_PKG} ${APIS_PKG} \ | ||
${GROUP}:v1alpha1,v1alpha2 \ | ||
${GROUP}:v1alpha1 \ | ||
--go-header-file "${SCRIPT_ROOT}"/hack/boilerplate.go.txt \ | ||
--output-base "${SCRIPT_ROOT}" -v 10 | ||
|
||
|
Oops, something went wrong.