Skip to content

Commit

Permalink
Remove workaround for controller-tools typealias bug (#6874)
Browse files Browse the repository at this point in the history
* Remove workaround for controller-tools typealias bug

The workaround is not necessary anymore after controller-tools v0.17.1.

Signed-off-by: Tero Saarni <tero.saarni@est.tech>

* Run make generate

Signed-off-by: Tero Saarni <tero.saarni@est.tech>

* Fixes for codespell.

Signed-off-by: Tero Saarni <tero.saarni@est.tech>

---------

Signed-off-by: Tero Saarni <tero.saarni@est.tech>
  • Loading branch information
tsaarni authored Jan 31, 2025
1 parent 6440e8a commit 27f0923
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
8 changes: 6 additions & 2 deletions apis/projectcontour/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions hack/generate-crd-deepcopy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ readonly GO111MODULE=on

export GO111MODULE

# Workaround for https://github.com/projectcontour/contour/pull/6709#issuecomment-2466179766
readonly GODEBUG=gotypesalias=0
export GODEBUG

boilerplate() {
cat <<EOF
/*
Expand Down
4 changes: 0 additions & 4 deletions hack/generate-crd-yaml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ readonly TEMPDIR=$(mktemp -d crd-XXXXXX)
# Optional first arg is the paths pattern.
readonly PATHS="${1:-"./apis/..."}"

# Workaround for https://github.com/projectcontour/contour/pull/6709#issuecomment-2466179766
readonly GODEBUG=gotypesalias=0
export GODEBUG

trap 'rm -rf "$TEMPDIR"; exit' 0 1 2 15

cd "${REPO}"
Expand Down

0 comments on commit 27f0923

Please sign in to comment.