Update Go modules in preparation for releasing 1.6.0#676
Merged
Conversation
Signed-off-by: Richard Wall <richard.wall@cyberark.com>
Signed-off-by: Richard Wall <richard.wall@cyberark.com>
Signed-off-by: Richard Wall <richard.wall@cyberark.com>
Signed-off-by: Richard Wall <richard.wall@cyberark.com>
Signed-off-by: Richard Wall <richard.wall@cyberark.com>
Signed-off-by: Richard Wall <richard.wall@cyberark.com>
make go-tidy generate-go-licenses Signed-off-by: Richard Wall <richard.wall@cyberark.com>
Signed-off-by: Richard Wall <richard.wall@cyberark.com>
Signed-off-by: Richard Wall <richard.wall@cyberark.com>
wallrj
commented
Jun 25, 2025
| github.com/google/uuid,BSD-3-Clause | ||
| github.com/gorilla/css/scanner,BSD-3-Clause | ||
| github.com/gorilla/websocket,BSD-3-Clause | ||
| github.com/gorilla/websocket,BSD-2-Clause |
Contributor
Author
There was a problem hiding this comment.
I checked this license and I think it's ok. It's one of two BSD-2 licensed dependency
$ git grep BSD-2
LICENSES:github.com/gorilla/websocket,BSD-2-Clause
LICENSES:github.com/pkg/errors,BSD-2-Clause
wallrj
commented
Jun 25, 2025
| github.com/google/uuid v1.6.0 | ||
| github.com/hashicorp/go-multierror v1.1.1 | ||
| github.com/jetstack/venafi-connection-lib v0.3.2-0.20250305134451-ec1757b9e01b | ||
| github.com/jetstack/venafi-connection-lib v0.4.1-0.20250617093438-475079c98311 |
Contributor
Author
There was a problem hiding this comment.
wallrj
commented
Jun 25, 2025
wallrj
commented
Jun 25, 2025
|
|
||
| require ( | ||
| github.com/Venafi/vcert/v5 v5.8.1 | ||
| github.com/Venafi/vcert/v5 v5.10.2 |
Contributor
Author
There was a problem hiding this comment.
wallrj
commented
Jun 25, 2025
| // This is a work around for a bug in vcert where it adds a `vCert: ` prefix | ||
| // to the global log logger. It can be removed when this is fixed upstream | ||
| // in vcert: https://github.com/Venafi/vcert/pull/512 | ||
| vcertLog.SetPrefix("") |
Contributor
Author
There was a problem hiding this comment.
This bug has now been fixed and released since vcert 5.8.2
Signed-off-by: Richard Wall <richard.wall@cyberark.com>
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR prepares for the 1.6.0 release by updating dependency versions, removing legacy defaults and workarounds, and adjusting related tests and CRDs.
- Bump Go module dependency versions to their latest stable releases
- Remove the vcert log prefix workaround and update the test’s expected output
- Drop default
clientIdin CRDs and add a placeholder parameter for TPP client ID in the Go client
Reviewed Changes
Copilot reviewed 8 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| pkg/logs/logs_test.go | Update expected log output after removing the vCert: prefix |
| pkg/logs/logs.go | Remove workaround for vcert’s log prefix |
| pkg/client/client_venconn.go | Add placeholder unusedTPPDefaultClientID parameter in client builder |
| go.mod | Bump multiple module versions for dependencies |
| deploy/charts/venafi-kubernetes-agent/templates/venafi-connection-crd.yaml | Remove default clientId entries |
| deploy/charts/venafi-kubernetes-agent/templates/venafi-connection-crd.without-validations.yaml | Remove default clientId entries |
| deploy/charts/venafi-kubernetes-agent/crd_bases/jetstack.io_venaficonnections.yaml | Update controller-gen version, remove default clientId entries |
| LICENSES | Sync license entries with updated dependencies |
Comments suppressed due to low confidence (2)
pkg/client/client_venconn.go:89
- [nitpick] The variable name
unusedTPPDefaultClientIDsuggests it’s never used. Consider renaming it to something liketppDefaultClientIDor inlining""directly if it’s intentionally an empty placeholder.
var unusedTPPDefaultClientID string
pkg/logs/logs_test.go:120
- The timestamp format here omits fractional seconds, whereas other log lines include
.000000. Consider aligning the expected output to match the actual log format.
0000/00/00 00:00:00 log Print
inteon
approved these changes
Jun 25, 2025
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This PR prepares for the 1.6.0 release by updating dependency versions, removing legacy defaults and workarounds, and adjusting related tests and CRDs.
I used go-mod-upgrade to update most of the dependencies. Committed them in groups with corresponding LICENSE updates
I updated venafi-connection-lib from the main branch, because there hasn't been a release of the latest changes.
Perhaps we should do another release, with all the changes to the CRDs.
Testing
I ran the E2E test script and observed it succeed. The certificate in the Kubernetes cluster was uploaded to Venafi and processed and appeared in the inventory API.
The VenafiConnection resource status showed the token status of the venafi-kubernetes-agent alongside those of the other components:
The logs were JSON formatted and could be read by
jl