Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependencies #166

Merged
merged 2 commits into from
Feb 19, 2025
Merged

chore(deps): update dependencies #166

merged 2 commits into from
Feb 19, 2025

Conversation

terinjokes
Copy link
Contributor

This changeset updates to using Go 1.24 features.

The VCS tag and commit information is now embedded into the controller
binary by the go tool, replacing the previous method of embedding via
-ldflags. This version is now used if the version is not explicitly
set at build time.

The controller-gen tool is now set via the tools directive in go.mod,
replacing the previous "package tools". The CRDs and RBAC files are now
generated using the go tool command.

The test files have been updated to use t.Context() instead of
manually setting up a cancellable context (or worse, using
context.Background() or context.TODO()). This context is cancelled
by Go before calling the Cleanup functions.

The remaining vestiges of loop variable scoping have also been removed,
along with a lite tidying of some older test files.

Update for new releases of cert-manager, controller-runtime, and Go.
This changeset updates to using Go 1.24 features.

The VCS tag and commit information is now embedded into the controller
binary by the go tool, replacing the previous method of embedding via
`-ldflags`. This version is now used if the version is not explicitly
set at build time.

The controller-gen tool is now set via the tools directive in go.mod,
replacing the previous "package tools". The CRDs and RBAC files are now
generated using the `go tool` command.

The test files have been updated to use `t.Context()` instead of
manually setting up a cancellable context (or worse, using
`context.Background()` or `context.TODO()`). This context is cancelled
by Go before calling the Cleanup functions.

The remaining vestiges of loop variable scoping have also been removed,
along with a lite tidying of some older test files.
@terinjokes terinjokes requested a review from a team February 12, 2025 21:37
@terinjokes terinjokes self-assigned this Feb 12, 2025
@terinjokes terinjokes merged commit aedef43 into trunk Feb 19, 2025
13 checks passed
@terinjokes terinjokes deleted the terin/deps branch February 19, 2025 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants